1
我希望我的腳本收聽按下PrintScreen按鈕後將要輸入的字符串。例如,如果我按PrintScreen按鈕,然後鍵入「paint」,它應該打開MSPaint。如果我然後鍵入「photoshop」,它應該打開Photoshop ..這可能嗎?AutoHotKey - 在按下PrintScreen按鈕後收聽字符串?
這裏是我的嘗試,完全失敗(我是新的方式來AHK ..)
~PrintScreen::paint::
Run, MSPaint
WinWaitActive, Untitled - Paint
Send, ^v
return
~PrintScreen::photoshop::
Run, Photoshop
WinWaitActive, Adobe Photoshop CS6
Send, ^v
return
非常感謝你,我應該查找輸入命令我猜:P – Dean