windows of app process & spaces
windows of app process & spaces
- Subject: windows of app process & spaces
- From: Mitchell L Model <email@hidden>
- Date: Mon, 27 Jun 2016 11:36:40 -0400
I just stumbled on something very disconcerting. It doesn’t make any sense to me because I’ve worked with the windows of application processes a lot, and I’ve never noticed this before, nor seen any mention of it anywhere. With Script Editor (or Script Debugger) assigned to a specific space, the scriptlet tell application "System Events" to get the windows of application process "TextEdit" only sees windows that are in the same as the window in which it is run. (That is, the issue is the space the script window has been moved to not the space to which Script Editor/Debugger has been assigned.)
I would appreciate confirmation and, if possible, an explanation of this. If this is confirmed, was it always this way? (in particular before 10.9?) Is there a way around it so a script can consider all windows of a process? |
_______________________________________________
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