Re: What's URL are you showing
Re: What's URL are you showing
- Subject: Re: What's URL are you showing
- From: gohaku <email@hidden>
- Date: Tue, 6 Jul 2004 21:47:31 -0400
On Jul 6, 2004, at 12:21 PM, Mark Thomas wrote:
Hi,
Sorry for the cross-post but, Does anyone know if it possible from
another
processes to find out what the URL which the browser is showing i.e.
Safari
or IE ..etc.
For Safari, type and then run the following in Script Editor
(/Applications/Applescript/):
tell application "Safari"
get the do JavaScript "document.URL" in document 1
end tell
For IE, you'll have to take a look at IE's dictionary.
I tried but kept on opening IE Classic instead of IE native.
If you prefer to use Java, take a look at the following
article(Controlling your Mac with Applescript and Java):
http://www.macdevcenter.com/pub/a/mac/2003/02/25/apple_scripting.html
HTH,
-gohaku
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.