Re: Application Indexes
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