• 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: Problem with opening movie files in quicktime player
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with opening movie files in quicktime player


  • Subject: Re: Problem with opening movie files in quicktime player
  • From: "Christopher C. Stone" <email@hidden>
  • Date: Fri, 9 Feb 2001 05:00:44 -0600

Greetings,

At 14:51 +0530 02/09/2001, Arun Mozhi Selvan wrote:
> i am able to open some .mov files through apple script. But i have some
> trailers of movie files which do not open through the apple script. I want
> to know why this happen and how to rectify the problem

[watch the wrap]
set playList to {alias "Lao-Tzu:Graphics:Movies QuickTime:Movie1.mpg", alias "Lao-Tzu:Graphics:Movies QuickTime:Movie2.mpg"}

tell application "QuickTime Player"
open playList
play movie 1
end tell

> and is there any way to play an mp3 file using quicktime player

[watch the wrap]
set playList to {alias "Thor:Documents:iTunes:iTunes Music:Blue Vyster Cult:Cult Classic:Burning For You.mp3", alias "Thor:Documents:iTunes:iTunes Music:Blue Vyster Cult:Cult Classic:Don't Fear The Reaper.mp3"}

-- Just goofing around here by getting the name of the file.*
set AppleScript's text item delimiters to {":"}
set nm to text item -1 of (item 1 of playList as string)
set AppleScript's text item delimiters to {""}

tell application "QuickTime Player"
open playList
play movie nm
end tell


*You could also get the name of the file this way:

name of (info for item 1 of playList)

Of course you already know the file name unless you're using choose file to get it, so the point might be moot.


Best Regards,

Christopher Stone
______________________________
StoneWorks Computer Consulting
email@hidden


  • Follow-Ups:
    • Re: Problem with opening movie files in quicktime player
      • From: Emmanuel <email@hidden>
References: 
 >Problem with opening movie files in quicktime player (From: Arun Mozhi Selvan <email@hidden>)

  • Prev by Date: Re: To Claris Emailer users
  • Next by Date: Re: Error 1728
  • Previous by thread: Problem with opening movie files in quicktime player
  • Next by thread: Re: Problem with opening movie files in quicktime player
  • Index(es):
    • Date
    • Thread