Starting process and bringing to the front
Starting process and bringing to the front
- Subject: Starting process and bringing to the front
- From: "Martin A. Shields" <email@hidden>
- Date: Tue, 31 Oct 2000 09:50:45 +1100
I'm trying to write a script which will open a movie in QuickTime Player,
use the "Present Movie" to fill the screen, and make it the front-most app.
I want to do this so I can have MacDim launch the script and so make the
movie work as a screen saver.
Here's what I've got so far:
tell application "QuickTime Player"
launch
open file "Misc:Movies:world.mov"
set looping of movie "world.mov" to true
present movie "world.mov" scale current
quit
end tell
It does almost all I want: starts the player, opens the movie, and presents
it. However, the movie plays *behind* other windows, not in front.
Has anyone any idea how I might be able to force it to the front?
Thanks,
Martin Shields.