Re: QT Player front document
Re: QT Player front document
- Subject: Re: QT Player front document
- From: has <email@hidden>
- Date: Mon, 14 Apr 2008 19:20:34 +0100
Luther Fuller wrote:
All variants of the 'front document' command DO work properly if the
QuickTime Player application is visible. I'm just trying to play
some music while AppleScripting and one of the first lines in my
script hides QuickTime Player. I removed this line and now my script
works properly until I hide QuickTime Player, then it starts playing
documents in reverse order.
IIRC, document element order is dependent on window stacking order,
and stacking order only applies visible windows, not minimised or
hidden windows. Thus, the order changes you see may AppKit's
responsibility, rather than Cocoa Scripting's, although I'm not going
to go off and check it for you.
OTOH, not providing stable - i.e. by-id - references by default is
definitely Cocoa Scripting's bad.
has
--
Control AppleScriptable applications from Python, Ruby and ObjC:
http://appscript.sourceforge.net
_______________________________________________
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