AppleScript: “Press Run to run this script”
If you write your own AppleScripts, you’ve probably seen an alert box pop up with this message when you try to run your script:
Press Run to run this script, Quit to quit.
<rant>This annoyance calls to mind Microsoft’s ingenious “click Start to shutdown” design motif. I mean, if I launched this script in the first place, why should I have to tell you again?)</rant>
Fix: When you save the script as an app using “Save as…”, look at the save options carefully. Make sure the “Startup screen” checkbox is unchecked before saving.
Works for me.
Thank you so much for this tip! I some scripts set up as folder actions and ical events, so i’m not always there to click the button. this helped a lot!!!
Thanks, John,
so nice to find an answer so quickly
When running an applescript app that’s on a Windows 2003 share it hangs at the “press run to run…” dialog regardless of how I save it.
@drpj: Unfortunately, I don’t know what might be causing that problem. I have very little experience with Windows.
Thank you.