get public IP address

Get your public IP address. This snippet can be easily adapted for Classic using URL Access Scripting.

OS version: OS X

(do shell script "curl http://checkip.dyndns.org/ | grep 'Current IP Address'")