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

Re: Getting URL infomation from browser


  • Subject: Re: Getting URL infomation from browser
  • From: Daniel Blanken <email@hidden>
  • Date: Wed, 03 Oct 2001 17:56:27 +0200

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

For IE try this:

=============
tell application "Internet Explorer"
--get information for frontmost window (i.e. the window with index -1)
set the_info to (GetWindowInfo -1)
--the result is a list in format {[URL of the window],[Title of the
window]}
set the_URL to (item 1 of the_info) as string
end tell
--return the URL of frontmost window as string
return the_URL
==============

The current version of Netscape isn't installed on my machine, so I cannot
give you a solution here, sorry.

Greetings!
Daniel Blanken


  • Prev by Date: Re: Getting URL infomation from browser
  • Next by Date: Re: Giving more memory to folder action
  • Previous by thread: Re: Getting URL infomation from browser
  • Next by thread: Re: Getting URL infomation from browser
  • Index(es):
    • Date
    • Thread