• 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: Application Indexes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Application Indexes


  • Subject: Re: Application Indexes
  • From: Shane Stanley <email@hidden>
  • Date: Tue, 28 Mar 2017 18:10:19 +1100

On 28 Mar 2017, at 5:43 pm, Christopher Stone <email@hidden> wrote:
>
> Does anyone know if AppleScriptObjC can get (and perhaps set) the indexes of applications?
>
> By index I mean front-to-back.
>
> Long ago OneClick would let me do this, and I haven't seen anything for years that would.
>
> I need to be able to check and see where a specific app is in the hierarchy and bring it forward if its NOT app[2].

You're out of luck. The best you can do is register to be notified whenever an app is made active, and use that to maintain your own indexed list. I don't know how practical that would be for what you want -- it would obviously need to be done by a stay-open app.

--
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>, <latenightsw.com>



 _______________________________________________
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


  • Follow-Ups:
    • Re: Application Indexes
      • From: 2551phil <email@hidden>
References: 
 >Application Indexes (From: Christopher Stone <email@hidden>)

  • Prev by Date: Application Indexes
  • Next by Date: Re: Missing ampersand
  • Previous by thread: Application Indexes
  • Next by thread: Re: Application Indexes
  • Index(es):
    • Date
    • Thread