Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/ssh/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Autohotkey 在自动热键中使用的脚本是什么;插入“;“触发”;Alt+;班次+;我";镀铬的?_Autohotkey - Fatal编程技术网

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 

你想干什么?你能给我们举个例子吗?请尝试遵循以下步骤: