• 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: activate only one window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: activate only one window


  • Subject: Re: activate only one window
  • From: Robert Poland <email@hidden>
  • Date: Sat, 25 Sep 2004 09:21:29 -0600

Does anyone know how to bring only one window of applications into frontmost.

The statement "activate application appName" bring all windows of application appNmae into frontmost frontmost. I want to activate only one window and stay the other window in background.

I tryied using UI elements scripting as follows.
tell application "System Events"
tell application process "Safari"
click at {135, 40} -- {135, 40} is the position of a window title bar.
end tell
end tell


The above code did not work and not give any effects.

This is what I was forced to do to get click at to work (in GraphicConvertor).

set up in iKey
keystroke "l" using {option down, control down, command down} -- "L"
move to {968, 102} -- item "eyedropper"
click
needed to avoid double click response
move to {995, 23} -- item "Select"
click

then I did a keystroke "l" using {option down, control down, command down} -- "L"

let me know if that doesn't give enough details,
--
Bob Poland - Fort Collins, CO
http://www.ibrb.org/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: activate only one window
      • From: Tetsuro KURITA <email@hidden>
References: 
 >activate only one window (From: Tetsuro KURITA <email@hidden>)

  • Prev by Date: Re: Replacing in TextEdit
  • Next by Date: Re: Make New Window in Terminal...
  • Previous by thread: activate only one window
  • Next by thread: Re: activate only one window
  • Index(es):
    • Date
    • Thread