How do I prevent dialogs? and other questions
How do I prevent dialogs? and other questions
- Subject: How do I prevent dialogs? and other questions
- From: Bert Knabe <email@hidden>
- Date: Sat, 27 Sep 2003 23:43:19 -0500
Because I wanted to use Cron I created an applet that invokes the
"Enable Folder Actions" script. I created an invoking applet because
turning "Enable Folder Actions" into an applet resulted in a dialog
appearing asking if it should run or quit (run is the default). I need
it to run without having to be watched. How do I prevent the appearance
of the dialog? I don't have any user interaction in my script. Does
Applescript assume you want input in applets unless you expressly say
that you don't?
Here is the invoking script:
tell application "Finder"
set old_delimiters to AppleScript's text item delimiters
set AppleScript's text item delimiters to ":"
activate "Server HD:Library:Scripts:Folder Actions:Enable Folder
Actions.scpt"
set AppleScript's text item delimiters to old_delimiters
end tell
Bert Knabe
Computer Technician
Lubbock Avalanche Journal
806-766-2158
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.