Skip to content

Instantly share code, notes, and snippets.

@Jackiexiao
Created May 20, 2021 06:00
Show Gist options
  • Save Jackiexiao/78551e3a1001a3913b8f9c882bb3916e to your computer and use it in GitHub Desktop.
Save Jackiexiao/78551e3a1001a3913b8f9c882bb3916e to your computer and use it in GitHub Desktop.
ctrl + alt + C 快速摘录内容到RemNote中.ahk
^!c:: ;~将文字发送到RemNote中去
send,^c
sleep,50
WinWait("ahk_exe RemNote.exe")
send,^v
send,{Enter}
sleep,100
mousemove, %A_CaretX% ,%A_CaretY%
return
WinWait(title)
{
WinWait, %title%, ;等待窗口出来
IfWinNotActive, %title%, , WinActivate, %title%,
WinWaitActive, %title%,
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment