• 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
Setting the Front Window in Safari?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Setting the Front Window in Safari?


  • Subject: Setting the Front Window in Safari?
  • From: Dave <email@hidden>
  • Date: Wed, 23 Sep 2009 13:52:20 +0100

Hi All,

I have a number of open windows in Safari and I want to bring one of then to the front of all the others. How can I do this using AppleScript?

I have a loop that scans all the Windows in Safari, if I find a window that has a URL that contains a particular domain I want to bring this window to the front. If there is no window with the URL I want to make a new one.

All is working except if there is already a window with the URL of the domain and there are other windows in front of it it doesn't bring this window to the front.

I've looked through the dictionary and searched online, but I can't seem to find a way to do this.

Thanks in Advance.
All the Best
Dave



_______________________________________________
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: Setting the Front Window in Safari?
      • From: "Stockly, Ed" <email@hidden>
  • Prev by Date: Re: now Leopard and (old) AppleScript applications
  • Next by Date: Re: now Leopard and (old) AppleScript applications
  • Previous by thread: Re: line printing
  • Next by thread: Re: Setting the Front Window in Safari?
  • Index(es):
    • Date
    • Thread