Skip to content

Instantly share code, notes, and snippets.

@zeuxisoo
Created April 15, 2011 04:43
Show Gist options
  • Save zeuxisoo/921153 to your computer and use it in GitHub Desktop.
Save zeuxisoo/921153 to your computer and use it in GitHub Desktop.
Insert date time value to the document content
tell application "TextWrangler"
set selection to (do shell script "date +\"%Y-%m-%d %r\"|sed 's/ / /g'")
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment