1nsp1r3rnzt
1/31/2017 - 12:57 AM

Quick Paste in Evernote

Quick Paste in Evernote

#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn  ; Enable warnings to assist with detecting common errors.
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.


`:: 
#IfWinExist ahk_class ENMainFrame
WinActivate   ,ahk_class ENMainFrame
send {enter}
sleep 100
send ^v
sleep 100
Send, {ALTDOWN}{TAB}ALTUP}
send, {enter}
#IfWinActive
return

~::
#IfWinExist ahk_class ENMainFrame
WinActivate   ,ahk_class ENMainFrame
send ^n
sleep 100

sleep 100
send ^v
sleep 100
Send, {ALTDOWN}{TAB}ALTUP}
send, {enter}
#IfWinActive
return