Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Updated | 13 comments | Create New Account
Click here to return to the 'Updated' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Updated
Authored by: Diggory on Mar 02, '04 10:18:07AM
Thanks for the tips, here's an updated script:

on idle
	try
		set curlScript to "curl www.apple.com"
		--	Uncomment the following line if you use a proxy server.
		--		set curlScript to "curl --proxy address_of_your_proxy_server:port www.apple.com"		
		do shell script curlScript
		tell application "iTunes"
			set oldVolume to sound volume
			set sound volume to (sound volume * 0.25)
			delay 1
			say "Your Network Connection is now available"
			delay 1
			set sound volume to oldVolume
			display dialog "Network Connection now available."
		end tell
		quit
	on error
		--		say "Network still down."
	end try
	return 120
end idle

---
*****
monkeyfood software - http://www.monkeyfood.com

[ Reply to This | # ]