• 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: simple Quictime script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: simple Quictime script


  • Subject: Re: simple Quictime script
  • From: Brian Christmas <email@hidden>
  • Date: Tue, 12 Oct 2010 21:29:14 +1100

G'day Jan

Try this...

on run
set movieName to "Niagra Falls 1.mov"
tell application "Finder"
set moviePath to path to movies folder
end tell
set filePath to moviePath & movieName as text
my reopen_movie_in_qt_player(movieName, filePath)
end run

on reopen_movie_in_qt_player(movieName, filePath)
tell application "QuickTime Player 7"
if (exists window movieName) then
close window movieName
end if
open filePath
end tell
end reopen_movie_in_qt_player


I've used Quicktime 7 as Quicktime 10 does not automatically play movies.

Regards

Santa


And what, you ask, was the beginning of it all?
And it is this......
Existence that multiplied itself
For sheer delight of being
And plunged with numberless trillions of forms
So that it might
find
itself
innumerably

Sri Aurobindo





 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: simple Quictime script
      • From: Brian Christmas <email@hidden>
References: 
 >simple Quictime script (From: "Jan E. Schotsman" <email@hidden>)

  • Prev by Date: simple Quictime script
  • Next by Date: Re: simple Quictime script
  • Previous by thread: simple Quictime script
  • Next by thread: Re: simple Quictime script
  • Index(es):
    • Date
    • Thread