Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/.htaccess/5.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 如何使用Win+Shift+Alt作为自动热键中的热键?_Autohotkey_Hotkeys - Fatal编程技术网

Autohotkey 如何使用Win+Shift+Alt作为自动热键中的热键?

Autohotkey 如何使用Win+Shift+Alt作为自动热键中的热键?,autohotkey,hotkeys,Autohotkey,Hotkeys,我想用组合键激活一个脚本⊞ Win+Shift+Alt。我该怎么做 这就是我到目前为止所做的: Space:: Run, App #Persistent SetTimer, PressTheKey1, 500 SetTimer, PressTheKey2, 0 PressTheKey1: Send, {click} Return PressTheKey2: Send, {t} Return Escape:: ExitApp Return 要将Win、Sh

我想用组合键激活一个脚本⊞ Win+Shift+Alt。我该怎么做

这就是我到目前为止所做的:

Space::
    Run, App

#Persistent
SetTimer, PressTheKey1, 500
SetTimer, PressTheKey2, 0

PressTheKey1:
    Send, {click}
Return

PressTheKey2:
    Send, {t}
Return

Escape::
    ExitApp
Return
要将Win、Shift和4组合用作热键,请执行以下操作:


我不认为仅使用Win、Shift和Alt键就可以触发脚本。Win、Shift和Alt都被认为是修改器,这意味着它们需要与热键配对才能生效。热键的一些例子是:键盘上的普通字母键,键盘上的数字,F1到F12键,回车,空格OK,如果我想赢shift-4,代码是什么,它不会触发脚本。您希望热键激活脚本的哪个部分?您所说的“部分”是什么意思?您可以用最新的脚本更新您的问题吗?我不相信您可以在概述热键的同一脚本中使用持久行。您可能需要将持久性部分分解为自己的脚本,并同时运行这两个部分。
#+4::
    ; Your script here