• 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: How to react to browser window-name
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to react to browser window-name


  • Subject: Re: How to react to browser window-name
  • From: Peter Watling <email@hidden>
  • Date: Fri, 2 Nov 2001 15:01:02 +1300

If you save an applescript as an app with the 'keep app open' bit on.
Then it gets idle events every minute, or more frequently if you return
a number

ie

on idle
tell application "Internet Explorer"
repeat with eachWindow in ListWindows
if "doQuit" is in text item 2 of (GetWindowInfo eachWindow) then
quit
end if
end repeat
return 2
end tell
end


will get called every 2 seconds


References: 
 >How to react to browser window-name (From: email@hidden)

  • Prev by Date: Re: Does "rounding" work in OS 9.2.1
  • Next by Date: Folder action scripts
  • Previous by thread: How to react to browser window-name
  • Next by thread: Re: How to react to browser window-name
  • Index(es):
    • Date
    • Thread