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

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

  • Follow-Ups:
    • Re: windows of app process & spaces
      • From: 2551phil <email@hidden>
    • Re: windows of app process & spaces
      • From: Deivy Petrescu <email@hidden>
  • Prev by Date: Re: Can a Creation Date be Modified with ASObjC?
  • Next by Date: Re: windows of app process & spaces
  • Previous by thread: Re: Can a Creation Date be Modified with ASObjC?
  • Next by thread: Re: windows of app process & spaces
  • Index(es):
    • Date
    • Thread