Detect an URL
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?