• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
How do I prevent dialogs? and other questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: AppleWorks 6: how do you set text style?
  • Next by Date: Re: Bug in (scripting) Excel.
  • Previous by thread: Re: Tex-Edit add line endings appending cr
  • Next by thread: Re: How do I prevent dialogs? and other questions
  • Index(es):
    • Date
    • Thread