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


Click here to return to the '10.4: Retrieve WAN IP via script and Automator' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: Retrieve WAN IP via script and Automator
Authored by: scmckenzie on Jun 07, '06 11:47:46AM

Thanks guys for the tips!

I'm embarrassed to say I've never really paid much attention to applescript. Phillymjs, your script, if I understand it, is great. I really don't need the e-mail if the IP doesn't change.

As far as the dynamic dns updater thing went, I know I've tried in the past to set something up with that and for some reason or another failed miserably.



[ Reply to This | # ]
10.4: Retrieve WAN IP via script and Automator
Authored by: phillymjs on Jun 07, '06 12:25:52PM

My script only reports the IP the very first time it's run and when it detects a change, otherwise it stays silent-- so you did understand it correctly.

You should definitely get better acquainted with Applescript, it can do a lot of nifty stuff, especially coupled with the ability to run Terminal commands via "do shell script"

~Philly

---
--
Ohhh, WHY did I register with Insta-Trace???



[ Reply to This | # ]