Re: Getting Internet Explorer 5.2 window name
Re: Getting Internet Explorer 5.2 window name
- Subject: Re: Getting Internet Explorer 5.2 window name
- From: julifos <email@hidden>
- Date: Sat, 14 Dec 2002 13:15:29 +0000
>
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")
A third-party way...
tell application "Internet Explorer"
do script "document.title"
end tell
JJ
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.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.