Skip to content

Instantly share code, notes, and snippets.

@liberize
liberize / wox_yd.ahk
Last active May 23, 2019 14:43
autohotkey 取词并调用 wox 有道翻译
; 取词快捷键 ctrl+shift+d
^+d::
clipboard =
Send, ^c
ClipWait, 1
StringLen, cliplen, clipboard
if (cliplen > 1000 or cliplen < 2) {
return
}
Run, %USERPROFILE%\AppData\Local\Wox\Wox.exe