• 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: windows of app process & spaces
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: windows of app process & spaces


  • Subject: Re: windows of app process & spaces
  • From: Mitchell L Model <email@hidden>
  • Date: Wed, 29 Jun 2016 12:02:26 -0400

> On Jun 28, 2016, at 5:27 PM, Phil Stokes <email@hidden> wrote:
>
> Why go through System Events? Doesn’t this get all the windows?
>
> tell application "TextEdit"
> 	name of every window
> end tell

And more: one called “__NSTextViewCompletionWindow”.

Add “whose visible is true” and now you don’t get __NSTextViewCompletionWindow,
but you also don’t get minimized windows.

So now we know how to get TextEdit’s windows in each of the following groups:
	•  all in (just) the current space
	*  all non-minimizzed
	*  all including invisible dialogs
What we don’t know how to do is get all of TextEdit’s “real” windows, regardless of their space or minimization. This seems to me to be a major problem. There must be yet another formulation that gives me what I want, or I (we) would have run into this a long time ago.


 _______________________________________________
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: windows of app process & spaces
      • From: 2551phil <email@hidden>
  • Prev by Date: Re: Scripting the Notes app
  • Next by Date: how to get sender and time in response to list message?
  • Previous by thread: Re: windows of app process & spaces
  • Next by thread: Re: windows of app process & spaces
  • Index(es):
    • Date
    • Thread