Created
October 10, 2016 22:06
-
-
Save unforswearing/3e0dff7a998e659af92b4e468f6fedf8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set newnote to display dialog "Create a NV note" default answer "" | |
set newnote to text returned of newnote | |
tell application "Finder" to set the clipboard to newnote as text | |
tell application "Notational Velocity" | |
activate | |
tell application "System Events" | |
key code 9 using {command down, shift down} | |
key code 124 using command down | |
key code 36 | |
key code 36 | |
end tell | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment