• 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: Safari: getting name of document
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Safari: getting name of document


  • Subject: Re: Safari: getting name of document
  • From: Paul Skinner <email@hidden>
  • Date: Tue, 2 Sep 2003 10:02:25 -0400

On Saturday, August 30, 2003, at 10:40 PM, Christopher Nebel wrote:

On Aug 30, 2003, at 6:13 AM, Paul Skinner wrote:

Curiously...

tell application "Safari"
name of front window-->"MacSlash: A daily dose of Macintosh News and Discussion"
end tell

Unfortunately Google is open in the front window. Safari has no script accessible property to identify which of it's windows is frontmost. It does have a 'frontmost' property, but this refers to the application.

It shouldn't need one -- window 1 (which is the same thing as "front window") should always be the frontmost window. It works for me, but if you can reliably make this not be the case, please tell me how.


--Chris Nebel
AppleScript Engineering


I have covered myself with ash and given myself forty lashes for libeling this innocent application. I was incorrect. Window 1 does consistently address the frontmost window.

PS
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: Pic in Mail-
  • Next by Date: Prob w/Jons Commands & Novell
  • Previous by thread: Re: Pic in Mail-
  • Next by thread: Prob w/Jons Commands & Novell
  • Index(es):
    • Date
    • Thread