Skip to content

Instantly share code, notes, and snippets.

@unforswearing
Created November 24, 2014 00:57
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save unforswearing/2486622ffd11597ba537 to your computer and use it in GitHub Desktop.
Save unforswearing/2486622ffd11597ba537 to your computer and use it in GitHub Desktop.
Notational Velocity to Taskpaper
tell application "Finder"
close every window
tell application "Notational Velocity"
activate
tell application "System Events"
key code 15 using shift down & command down
tell application "Finder"
delay 0.25
set TaskP to selection as text
set TaskP to quoted form of POSIX path of TaskP
tell application "TaskPaper"
activate
do shell script "open -a 'TaskPaper' " & TaskP
end tell
end tell
end tell
end tell
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment