Re: Quitting QuickTime Player
Re: Quitting QuickTime Player
- Subject: Re: Quitting QuickTime Player
- From: "Martin A. Shields" <email@hidden>
- Date: Tue, 31 Oct 2000 21:42:56 +1100
Thanks to everyone for your kind assistance. Here is my final script, which
does all I ask of it:
on quit
continue quit
tell application "QuickTime Player"
set rate of movie "world.mov" to 0
quit
end tell
end quit
tell application "QuickTime Player"
activate
open file "Misc:Movies:world.mov"
set looping of movie "world.mov" to true
present movie scale current
end tell
Saving this script as an application and selecting it in MacDim will play
the movie (in this case "Misc:Movies:world.mov") when the screen save kicks
in, and will quit it when any event occurs to stop screen saving. I chose to
present with "scale current" because other options result in the screen
resolution being switched, which sometimes messes with windows in other
apps.
For those of you unfamiliar with MacDim, I highly recommend it. You can find
out more about it (it's free!) at
http://www.ibrium.se/macdim.html
Thanks again,
Martin Shields.