Skip to content

Instantly share code, notes, and snippets.

@nanki
Created June 30, 2012 08:42
Show Gist options
  • Select an option

  • Save nanki/3022991 to your computer and use it in GitHub Desktop.

Select an option

Save nanki/3022991 to your computer and use it in GitHub Desktop.
dump the contents of the current tab in Terminal.app
#!/usr/bin/osascript
tell application "Terminal"
contents of selected tab of front window
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment