• 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
XC: Getting URL infomation from browser
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

XC: Getting URL infomation from browser


  • Subject: XC: Getting URL infomation from browser
  • From: Brian Johnson <email@hidden>
  • Date: Wed, 3 Oct 2001 14:26:35 -0700 (PDT)

Now for the extra-credit questions: anybody know how to get URLs from
frames _within_ that window? Thomas' rather novel appproach --

tell application "Internet Explorer"
set the_url to do script "javascript:window.location;"
end tell

seems to work in MSIE, when suitably modified, but what about Netscape?
Any suggestions there?

Brian Johnson, Dept of Architecture, University of Washington, Seattle

On Sun, 3 Sep 2000, Oodles of folks wrote something like:

> > Anyone any ideas on how to get URL of open window in either Netscape or IE
> > so it can be saved as a string.



> tell application "Internet Explorer"
> item 1 of (GetWindowInfo -1)
> end tell
>
> tell application "Netscape Communicator"
> URL of window 1
> end tell


  • Prev by Date: Re: Display PICT in DD?
  • Next by Date: Re: AS adoption barriers (starter kit)
  • Previous by thread: script objects & multiple constructors
  • Next by thread: Re: AS adoption barriers (starter kit)
  • Index(es):
    • Date
    • Thread