Re: Playing a simple movie from quicktime
Re: Playing a simple movie from quicktime
- Subject: Re: Playing a simple movie from quicktime
- From: Michael Terry <email@hidden>
- Date: Thu, 4 Dec 2003 10:45:17 -0800
I just want to run an ordinary movie in quicktime from applescript. I
don't even want any error checking etc....just play a specified movie
that i hardcoded in. Below is my novice attempt but it just times out.
tell application "QuickTime Player"
launch
activate
play movie "Assign15.mov"
end tell
tell application "QuickTime Player"
activate
open {alias "Your HD:Temporary Items:Assign15.mov"}
play result
end tell
First, you have to open the movie so that QuickTime can create its own
object reference to it. QuickTime's 'play' command takes one of these
object references as its argument. Note in the above that the open
command requires a list of files so you need the curly braces.
Cheers,
Mike
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.