• 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: Mon, 27 Jun 2016 16:32:53 -0400


On Jun 27, 2016, at 1:05 PM, Deivy Petrescu <email@hidden> wrote:

tell application "System Events”
set frontmost of  application process “TextEdit” to true
get the windows of application process “TextEdit"


Sorry, don’t know what you are talking about.

Space 1 has:
SD, assigned to the space.
2 windows from TextEdit (1 minimized, 1 not)
Space 2 has:
1 window from TextEdit

TextEdit is assigned to Space 2.

tell application "System Events"
tell application process "TextEdit"
set frontmost to true
the windows
end tell
end tell

produces 2 windows, not 3.

 
 _______________________________________________
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: Deivy Petrescu <email@hidden>
References: 
 >windows of app process & spaces (From: Mitchell L Model <email@hidden>)
 >Re: windows of app process & spaces (From: Deivy Petrescu <email@hidden>)

  • Prev by Date: path to script file in script's folder
  • Next by Date: Re: windows of app process & spaces
  • Previous by thread: Re: windows of app process & spaces
  • Next by thread: Re: windows of app process & spaces
  • Index(es):
    • Date
    • Thread