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


Click here to return to the 'Or an Applescript that launches on login or runs in the background' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Or an Applescript that launches on login or runs in the background
Authored by: designr on May 18, '07 10:05:24AM
property last_ip : ""
set my_IP to (do shell script "/sbin/ifconfig en0 | head -3 | grep 'inet ' | cut -d' ' -f 2") as string
if my_IP ≠ last_ip then
	set last_ip to my_IP
	if my_IP contains "192.168.0." then
		beep
		delay 2
		beep
	end if
else
	beep
end if


[ Reply to This | # ]