Aug 12, '04 09:48:00AM • Contributed by: gorkonapple
on idle
try
do shell script "curl www.apple.com"
tell application "MSN Messenger"
activate
close the front window
end tell
tell application "Yahoo! Messenger"
activate
delay 2
close window "Yahoo! Messenger"
end tell
tell application "iChat"
activate
close the front window
end tell
tell application "WeatherPop"
activate
end tell
quit
on error
-- say "Network not available"
end try
return 2
end idle
Use the 'Stay Open' option when saving this AppleScript, and it will check every two seconds for network availability. Then it launchs the IM's and WeatherPop. Modify the script if you're on a proxy.
