Re: How to react to browser window-name
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