Soy un principiante de OS X .
Tengo un conjunto de AppleScript para ejecutarse en el arranque y, en lugar de ejecutarlo automáticamente, tengo que activar el script con una confirmación de ejecución:
"Press Run to run this script, or Quit to quit"
¿Cómo me deshago de esto para que la aplicación se ejecute sin problemas?
El siguiente archivo se guardó como una aplicación.
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