• 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
Detect an URL
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Detect an URL


  • Subject: Detect an URL
  • From: nuria <email@hidden>
  • Date: Tue, 13 Mar 2001 12:12:08 +0100
  • Organization: alisys

Hi all,

I4m making an application that tries to control Internet Access to some
URL4s. I like to make a script that detect if Explorer is in a URL. For
that, I have made next:

tell application "Internet Explorer"
set info to GetWindowInfo 1
set URL to item 1 of info
if URL = "http://www.google.com/"; then display dialog "you are in
google"
end tell

I save it as an application that is always open, and I open it and
Internet Explorer, but when i go "google" there4s no action.

Have an idea?


  • Follow-Ups:
    • Re: Detect an URL
      • From: Timothy Bates <email@hidden>
  • Prev by Date: Re: Pagemaker 6.5
  • Next by Date: Re: detect launch of file?
  • Previous by thread: Re: Discnnecting users from File Sharing
  • Next by thread: Re: Detect an URL
  • Index(es):
    • Date
    • Thread