Re: QuickTime Player Scripting
Re: QuickTime Player Scripting
- Subject: Re: QuickTime Player Scripting
- From: Brennan <email@hidden>
- Date: Wed, 16 Oct 2002 00:36:29 +0200
"Kinsella, John R." <email@hidden> wrote
>
I've got a quick question regarding scripting the QuickTime Player. Can
>
anyone tell me how to go about reordering opened movies? I've got 3 movies
>
opened. The last movie opened is always the "active" movie. But after I
>
open the 3rd movie and copy a section to the 2nd movie, I need to bring that
>
2nd movie to the front so that when I play it, the audio comes through
>
(otherwise, since it sits behind the 3rd movie, the video plays but I can't
>
hear the audio.) I've tried telling the 2nd movie to active, but that
>
doesn't bring it forward. I've also tried to make it frontmost but that
>
isn't working either. Any suggestions?
Although the dictionary would indicate otherwise, 'select window X' will do what you want, e.g.
tell application "QuickTime Player"
select window 2
end tell
Note window 1 is always the frontmost window, so 'select window 1' will always do nothing.
Also, as Emmanuel suggests, you can simply 'set only front movie plays sound to false' and then you will hear the audio from all movies at once.
BTW Emmanuel, when are you going to support Quicktime playback in Smile? :)
Brennan
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.