AppleScript: Wie kann ich etwas Speichern?

L

lukethecool

Registriert
Thread Starter
Dabei seit
05.10.2014
Beiträge
2
Reaktionspunkte
0
Hay Leute ich habe eine Frage: Und zwar:
Ich möchte ein Programm mit Apple Script machen bei dem man das Programm öffnet, dann öffnet sich Quicktime player und filmt fünf Sekunden lang. So weit, so gut. Mein Code bis jetzt sieht so aus:
display dialog "Hallo" buttons {"Gut", "Schlecht"} default button 2
if the button returned of the result is "Gut" then
tell application "QuickTime Player" to start (new movie recording)
set theTime to 5
delay theTime
tell application "QuickTime Player" to quit (new movie recording)
else
tell application "Finder" to sleep

end if


Meine Frage ist: Wie kann ich machen dass Quicktime player den gemachten Film speichert?:confused:

PS: Das else

tell application "Finder" to sleep


und das

display dialog "Hallo" buttons {"Gut", "Schlecht"} default button 2
if the button returned of the result is "Gut" then
habe ich nur als Beispiele reingedacht, das ändere ich später noch, mir geht es grad nur um das mit QuickTime Player.
Danke schonmal im Voraus

 
Zurück
Oben Unten