-- copy selected text
tell application "System Events"
keystroke "c" using command down
end tell
-- switch to nvAlt
tell application "nvALT"
activate
tell application "System Events"
keystroke "l" using command down -- Create or Search
keystroke (ASCII character 8) -- Escape, clear search
key code 52 -- Return, enter note body
keystroke "v" using command down -- Paste
keystroke "r" using command down -- put cursor in note title field
end tell
end tell