• 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
Starting process and bringing to the front
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Prev by Date: Re: Sending mail through Filemaker with applescipt to Eudora
  • Next by Date: [SUMMARY] Re: FileMaker 'create new record @'
  • Previous by thread: Re: Sending mail through Filemaker with applescipt to Eudora
  • Next by thread: Re: Starting process and bringing to the front
  • Index(es):
    • Date
    • Thread