Re: window order
Re: window order
- Subject: Re: window order
- From: Mitchell L Model <email@hidden>
- Date: Sat, 02 Jul 2016 09:21:52 -0400
I shouldn't have surprised by this. With an application's windows spread across multiple spaces:
* switching spaces gives focus to the frontmost of the application's windows
• switching windows within a space (⌘`) cycles only among the (nonminized) windows in the current space
You can, however, select any window from the application's window menu, and if that window is not in the current space
you will be shifted to that space with that window at the front, with focus.
The fact that there is no interface for spaces — no way to find out what space you are in, what space a window is in, what space an application is assigned to, or move to a specific space — is a significant barrier to window-oriented scripting. Or don't uses spaces or, and this is not that serious a restriction, keep all of the windows that you care about of the application you are scripting in one space..
> On Jun 29, 2016, at 9:03 PM, Mitchell L Model <email@hidden> wrote:
>
> I am beginning to think that spaces destroy the whole notion of window order. At the moment, I have:
>
> SD assigned to space 1
> TextEdit assigned to space 2, with window win3 in front of win2
> TextEdit window win1 in space 3
>
> In SD, getting the documents or windows of TextEdit shows the order of the window in the order:
> win1, win2, win3
> win3 is last even though it is visibly frontmost and even after setting its window index to 1.
>
> Play around with this a while and see what you get. It would be great if someone could confirm, add to, or explain this.
>
_______________________________________________
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