Autohotkey 自动热键控制+;浏览器中新窗口中的逗号打开选项卡

Autohotkey 自动热键控制+;浏览器中新窗口中的逗号打开选项卡,autohotkey,Autohotkey,下面是自动关键点脚本,它工作得非常完美。但是,当我使用ctrl+逗号单击时,会打开一个新选项卡。如何避免这种情况并获得默认行为 这是剧本 ;The Offset variable controls pointer speed ;Ctrl + Arrow keys = move mouse ;Ctrl + comma = left click ;Ctrl + period = right click #SingleInstance force Offset = 20 ^Up::MouseMo

下面是自动关键点脚本,它工作得非常完美。但是,当我使用ctrl+逗号单击时,会打开一个新选项卡。如何避免这种情况并获得默认行为

这是剧本

;The Offset variable controls pointer speed
;Ctrl + Arrow keys = move mouse
;Ctrl + comma = left click
;Ctrl + period = right click

#SingleInstance force

Offset = 20

^Up::MouseMove, 0, (Offset * -1), 0, R
^Down::MouseMove, 0, Offset, 0, R
^Left::MouseMove, (Offset * -1), 0, 0, R
^Right::MouseMove, Offset, 0, 0, R
^.::click right

;This allows to press and hold the left mouse button instead of just clicking it once. Needed for drag and drop operations.
;snippet by x79animal at https://autohotkey.com/board/topic/59665-key-press-and-hold-emulates-mouse-click-and-hold-win7/
^,::
   If (A_PriorHotKey = A_ThisHotKey)
   return
click down
return
^, up::click up

在哪个程序窗口上

^Up::MouseMove, 0, -Offset, 0, R
^Down::MouseMove, 0, Offset, 0, R
^Left::MouseMove, -Offset, 0, 0, R
^Right::MouseMove, Offset, 0, 0, R
这是一个简单的方法