Skip to content

Instantly share code, notes, and snippets.

@oskarhagberg
Created December 5, 2009 07:35
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 oskarhagberg/249608 to your computer and use it in GitHub Desktop.
Save oskarhagberg/249608 to your computer and use it in GitHub Desktop.
AppleScript that shows current internal IP as large text (from LaunchBar)
set theIP to do shell script "ifconfig | grep 'broadcast' | awk '{print $2}'"
tell application "LaunchBar" to display in large type theIP with title "Internal IP Address:"
return theIP
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment