• 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
Re: Getting Internet Explorer 5.2 window name
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Getting Internet Explorer 5.2 window name
      • From: Gary Lists <email@hidden>
    • Re: Getting Internet Explorer 5.2 window name
      • From: Gary Lists <email@hidden>
  • Prev by Date: Re: Quark Problem(Simon)
  • Next by Date: AS 1.6 vs 1.8.3
  • Previous by thread: Re: Getting Internet Explorer 5.2 window name
  • Next by thread: Re: Getting Internet Explorer 5.2 window name
  • Index(es):
    • Date
    • Thread