Re: simple Quictime script
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