Ben bir OS X acemi duyuyorum .
Açılışta çalışmak üzere ayarlanmış bir Applescript'im var ve otomatik olarak çalışmak yerine, komut dosyasını bir çalışma onayıyla tetiklemeliyim:
"Press Run to run this script, or Quit to quit"
Uygulamanın sorunsuz çalışabilmesi için bu durumdan nasıl kurtulurum?
Aşağıdaki dosya bir uygulama olarak kaydedildi.
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