• 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 source in default web browser
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: getting source in default web browser


  • Subject: Re: getting source in default web browser
  • From: David Hood <email@hidden>
  • Date: Tue, 15 Apr 2003 09:50:32 +1200

On 14/4/03 at 11:30 PM, email@hidden (John Cochrane) wrote:


> but am struggling to get the text and name of the web page in Explorer.

Well, the name is the second item in GetWindowInfo (the first item is the
address). Here is a script that finds any open windows with the title Google.

tell application "Internet Explorer"
repeat with eachwindow in ListWindows
set InfoCollection to GetWindowInfo eachwindow
if (item 2 of InfoCollection = "Google") then
--do something with the google window
end if
end repeat
end tell


Regards,
David Hood
_/_/_/_/_/_/
Research Fellow, The Caversham Project, University of Otago
http://www.otago.ac.nz/nzpg/caversham
_______________________________________________
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.

  • Prev by Date: Re: "move" in OS X
  • Next by Date: Re: Quark 5 script issues?
  • Previous by thread: Re: getting source in default web browser
  • Next by thread: Help with Error in do shell script
  • Index(es):
    • Date
    • Thread