I am an OS X novice.
I have an Applescript set to run at boot and instead of running automatically, I have to trigger the script with a run confirmation:
"Press Run to run this script, or Quit to quit"
How do I get rid of this so the application runs seamlessly?
The following file was saved as an application.
tell application "Finder"
activate
tell application "Finder" to set pathToSound to (((path to me) & "Contents:Resources:TardisTakeoff.m4a") as string) as alias
tell application "QuickTime Player" to play (open pathToSound)
end tell
tell application "System Events"
key code 107
end tell
delay (0.1)
tell application "System Events"
key code 107
end tell
delay (0.1)
tell application "System Events"
key code 107
end tell
delay (0.1)
tell application "System Events"
key code 107
end tell
delay (0.1)
tell application "System Events"
key code 107
end tell
delay (0.1)
tell application "System Events"
key code 107
end tell
delay (0.1)
tell application "System Events"
key code 107
end tell
delay (0.1)
tell application "System Events"
key code 107
end tell
delay (0.1)
tell application "System Events"
key code 107
end tell
delay (0.1)
tell application "System Events"
key code 107
end tell
delay (0.1)
tell application "System Events"
key code 113
end tell
delay (0.1)
tell application "System Events"
key code 113
end tell
delay (0.1)
tell application "System Events"
key code 113
end tell
delay (0.1)
tell application "System Events"
key code 113
end tell
delay (0.1)
tell application "System Events"
key code 113
end tell
delay (0.1)
tell application "System Events"
key code 113
end tell
delay (0.1)
tell application "System Events"
key code 113
end tell
delay (0.1)
tell application "System Events"
key code 113
end tell
delay (0.1)
tell application "System Events"
key code 113
end tell
delay (0.1)
tell application "System Events"
key code 113
end tell
delay (0.1)
tell application "System Events"
key code 107
end tell
delay (0.1)
tell application "System Events"
key code 107
end tell
delay (0.1)
tell application "System Events"
key code 107
end tell
delay (0.1)
tell application "System Events"
key code 107
end tell
delay (0.1)
tell application "System Events"
key code 107
end tell
delay (0.1)
tell application "System Events"
key code 107
end tell
delay (0.1)
tell application "System Events"
key code 107
end tell
delay (0.1)
tell application "System Events"
key code 107
end tell
delay (0.1)
tell application "System Events"
key code 107
end tell
delay (0.1)
tell application "System Events"
key code 107
end tell
delay (0.1)
tell application "System Events"
key code 113
end tell
delay (0.1)
tell application "System Events"
key code 113
end tell
delay (0.1)
tell application "System Events"
key code 113
end tell
delay (0.1)
tell application "System Events"
key code 113
end tell
delay (0.1)
tell application "System Events"
key code 113
end tell
delay (0.1)
tell application "System Events"
key code 113
end tell
delay (0.1)
tell application "System Events"
key code 113
end tell
delay (0.1)
tell application "System Events"
key code 113
end tell
delay (0.1)
tell application "System Events"
key code 113
end tell
delay (0.1)
tell application "System Events"
key code 113
end tell
delay (0.1)
tell application "System Events"
key code 107
end tell
delay (0.1)
tell application "System Events"
key code 107
end tell
delay (0.1)
tell application "System Events"
key code 107
end tell
delay (0.1)
tell application "System Events"
key code 107
end tell
delay (0.1)
tell application "System Events"
key code 107
end tell
delay (0.1)
tell application "System Events"
key code 107
end tell
delay (0.1)
tell application "System Events"
key code 107
end tell
delay (0.1)
tell application "System Events"
key code 107
end tell
delay (0.1)
tell application "System Events"
key code 107
end tell
delay (0.1)
tell application "System Events"
key code 107
end tell
delay (0.1)
tell application "System Events"
key code 113
end tell
delay (0.1)
tell application "System Events"
key code 113
end tell
delay (0.1)
tell application "System Events"
key code 113
end tell
delay (0.1)
tell application "System Events"
key code 113
end tell
delay (0.1)
tell application "System Events"
key code 113
end tell
delay (0.1)
tell application "System Events"
key code 113
end tell
delay (0.1)
tell application "System Events"
key code 113
end tell
delay (0.1)
tell application "System Events"
key code 113
end tell
delay (0.1)
tell application "System Events"
key code 113
end tell
delay (0.1)
tell application "System Events"
key code 113
end tell
delay (0.1)
quit me
Best Answer
Open up your script in Script Editor. Do a Save As... (hold Option key down and "Duplicate" in File menu will change to "Save As...").
When you save your script as an application this time, make sure the box that says "Show Startup Screen" is not checked. See my screenshot.
That's all there is to it. Your old script was saved with the "Show startup screen" option checked. Now you know what that option does!