• 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
Re: QT Player front document
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >QT Player front document (From: Luther Fuller <email@hidden>)
 >Re: QT Player front document (From: Philip Aker <email@hidden>)
 >Re: QT Player front document (From: Luther Fuller <email@hidden>)
 >Re: QT Player front document (From: Philip Aker <email@hidden>)
 >Re: QT Player front document (From: Luther Fuller <email@hidden>)

  • Prev by Date: Re: When can you use the 'whose' clause (Filter)
  • Next by Date: Re: QuickTime sound volume
  • Previous by thread: Re: QT Player front document
  • Next by thread: How do I set an icon to a folder from Clipboard or png file
  • Index(es):
    • Date
    • Thread