Created
December 5, 2009 07:33
-
-
Save oskarhagberg/249607 to your computer and use it in GitHub Desktop.
AppleScript that shows current external IP as large text (from LaunchBar)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| set theIP to do shell script "curl -sf http://checkip.dyndns.org/|cut -d ':' -f 2|cut -d '<' -f1|sed -e 's/ //g'" | |
| tell application "LaunchBar" | |
| display in large type theIP with title "External IP Address:" | |
| end tell | |
| return theIP |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment