Skip to content

Instantly share code, notes, and snippets.

@semikolon
Forked from oskarhagberg/IPExternal.scpt
Created December 7, 2009 01:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save semikolon/250535 to your computer and use it in GitHub Desktop.
Save semikolon/250535 to your computer and use it in GitHub Desktop.
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