Autohotkey 在自动热键中使用的脚本是什么;插入“;“触发”;Alt+;班次+;我";镀铬的?
我需要这个问题的答案才能输入其他热键。稍后,我也将使用热字符串。在不知道您在做什么的情况下,我只能提供您所描述的成分Autohotkey 在自动热键中使用的脚本是什么;插入“;“触发”;Alt+;班次+;我";镀铬的?,autohotkey,Autohotkey,我需要这个问题的答案才能输入其他热键。稍后,我也将使用热字符串。在不知道您在做什么的情况下,我只能提供您所描述的成分 ; make the title matching sufficiently liberal SetTitleMatchMode, 2 ;wait for the hotkey return ; put this before your hotkey to have it only fire if a window containing these words in it's t
; make the title matching sufficiently liberal
SetTitleMatchMode, 2
;wait for the hotkey
return
; put this before your hotkey to have it only fire if a window containing these words in it's title is active
#IfWinActive , Google Chrome
Ins:: ; trigger this code when insert pressed
sendinput {alt down}I{alt up} ;it's capital, so no need for shift.
;alternatively the shorthand for that
sendinput !I
;helpful for debugging.
tooltip The hotkey fired. Did chrome respond the way you wanted?
sleep 2000 ;wait 2 seconds before hiding tooltip
tooltip ;empty tooltip means no tooltip
;end your hotkey. Otherwise it will keep going and execute the next hotkey once you make more.
return
这是一个键名列表,您可以将它们放在Ins
的位置,也可以将它们放在sendinput
命令中,如下所示:
sendinput {Ins}
听起来你需要这个:
#IfWinActive ahk_exe chrome.exe
Insert::!+i ; Pressing Insert will send Alt+Shift+I.
#IfWinActive
你想干什么?你能给我们举个例子吗?请尝试遵循以下步骤: