Getting Internet Explorer 5.2 window name
Getting Internet Explorer 5.2 window name
- Subject: Getting Internet Explorer 5.2 window name
- From: "Domains4Days.com" <email@hidden>
- Date: Fri, 13 Dec 2002 14:35:28 -0800
Der = G4: Jaguar - Netscape 4.xx Internet explorer 5.xx
My goal: I would like to be able to copy to the clipboard: The URL and the
window name of the top most window on Internet explorer 5.2x . Currently, I
am able to copy only The URL - and I am unable to grab the window
Name/Title.
IE 5.2x - this will NOT return the window Name/Title - any suggestions?
tell application "Internet Explorer"
set theWind to item 1 of (ListWindows)
set theURL to item 1 of (GetWindowInfo theWind)
set the clipboard to theURL & return & theWind
end tell
The result is:
http://www.somesite.com
2 (... It gives me a number - but I would like it to give me the title:
something like " welcome to some site")
- for the heck of it I have listed the AppleScript for Netscape - that
works just fine - if that helps at all ...
=======
Netscape 4.xx - this one works fine!
tell application "Netscape Communicator"
set ActiveURL to URL of window 1
set NetWindow to name of window 1
set the clipboard to ActiveURL & return & return & NetWindow
end tell
--
RevDave
email@hidden
Check out some great Domain Names at:
http://www.domains4days.com
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.