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

activate only one window


  • Subject: activate only one window
  • From: Tetsuro KURITA <email@hidden>
  • Date: Sat, 25 Sep 2004 15:39:56 +0900

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.

=======================================================
 Tetsuro KURITA
  E-mail: email@hidden
=======================================================

_______________________________________________
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: Robert Poland <email@hidden>
  • Prev by Date: Re: keystroke using ... { } ... in PowerMail
  • Next by Date: Re: Picking data from a record
  • Previous by thread: Re: Make New Window in Terminal...
  • Next by thread: Re: activate only one window
  • Index(es):
    • Date
    • Thread