• 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: Telling the Finder to only bring one window to the foreground
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Telling the Finder to only bring one window to the foreground


  • Subject: Re: Telling the Finder to only bring one window to the foreground
  • From: Luther Fuller <email@hidden>
  • Date: Tue, 18 Sep 2007 16:37:40 -0500

On Sep 18, 2007, at 7:21 AM, Chilton Webb wrote:
How do I tell the Finder to only bring a specific window to the foreground in front of my app?

I took a few minutes playing with some commands thinking I could do this ... but, I couldn't!
I can do exactly this manually and I can record my manual actions with Script Editor, but the script I try doesn't have the desired result. When the Finder is activated, ALL Finder windows always appear in front of the current application's document windows.


BTW, you should, if you know it, refer to the window by name instead of by index.
Play with this to see why ...


tell application "Finder"
	select window (count Finder windows)
	activate
end tell

_______________________________________________
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
References: 
 >Telling the Finder to only bring one window to the foreground (From: Chilton Webb <email@hidden>)

  • Prev by Date: iTunes' sluggish import
  • Next by Date: Re: Exporting shell variables to AppleScripts
  • Previous by thread: Re: Telling the Finder to only bring one window to the foreground
  • Next by thread: Re: Telling the Finder to only bring one window to the foreground
  • Index(es):
    • Date
    • Thread