Hello,
First, sorry for my bad english.
I don`t know nothing about script and programming, but I have solved a problem that I had.
I need a folder in a external hdd, this folder is part of my dropbox account. My problem is that when the drive is disconnected, dropbox think I deleted the folder and delete it from the cloud and other users of my company.
I made a Script (with google help of course):
And work perfect for me.
Here the question:
- Can I run this script but in background? (It's a bit annoying to have the application open all the time).
- Any better way to do this ?
THANKS A LOT to all !
First, sorry for my bad english.
I don`t know nothing about script and programming, but I have solved a problem that I had.
I need a folder in a external hdd, this folder is part of my dropbox account. My problem is that when the drive is disconnected, dropbox think I deleted the folder and delete it from the cloud and other users of my company.
I made a Script (with google help of course):
Code:
[COLOR="RoyalBlue"]on idle
set a to "/Volumes/my folder"
set b to POSIX file a
tell application "Finder"
if not (exists b) then
tell application "Dropbox"
quit
end tell
end if
end tell
return 3
end idle[/COLOR]
And work perfect for me.
Here the question:
- Can I run this script but in background? (It's a bit annoying to have the application open all the time).
- Any better way to do this ?
THANKS A LOT to all !
Last edited by a moderator: