• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Playing a simple movie from quicktime
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Playing a simple movie from quicktime (From: "Karl Kennedy" <email@hidden>)

  • Prev by Date: Re: Checking if Mail is busy.
  • Next by Date: Select certain items
  • Previous by thread: Re: Playing a simple movie from quicktime
  • Next by thread: Re: Playing a simple movie from quicktime
  • Index(es):
    • Date
    • Thread