auto hot key, input for continuously holding shift while clicking instead of hitting both for every click
up vote
1
down vote
favorite
I'm trying to make all my apps have the same navigation keys as the app I use most (blender). I set up a script where when I shift middle click, it sends a middle click (middle click alone is reassigned to send left click). It works but the only problem is that I have to press shift every time I click, but I want to be able to just hold down shift and click many times to activate the AHK send.
here's the full script so far
#SingleInstance ignore
#IfWinActive ahk_exe MagicaVoxel.exe
{
;Middle Mouse Button activates rotate
MButton::
Send, {RButton down}
KeyWait, MButton
Send, {RButton up}
Return
;shift Middle Mouse Button activates pan
+MButton::
Send, {MButton down}
KeyWait, MButton
Send, {MButton up}
Return
}
keyboard-shortcuts autohotkey
add a comment |
up vote
1
down vote
favorite
I'm trying to make all my apps have the same navigation keys as the app I use most (blender). I set up a script where when I shift middle click, it sends a middle click (middle click alone is reassigned to send left click). It works but the only problem is that I have to press shift every time I click, but I want to be able to just hold down shift and click many times to activate the AHK send.
here's the full script so far
#SingleInstance ignore
#IfWinActive ahk_exe MagicaVoxel.exe
{
;Middle Mouse Button activates rotate
MButton::
Send, {RButton down}
KeyWait, MButton
Send, {RButton up}
Return
;shift Middle Mouse Button activates pan
+MButton::
Send, {MButton down}
KeyWait, MButton
Send, {MButton up}
Return
}
keyboard-shortcuts autohotkey
The first key in a combination (in this case Shift) doesn't need to be released for repeating the combination-action, unleess you useKeyWait, Shift. Something else is wrong in your script. How do you assign MButton to send left click?
– user3419297
Nov 18 at 18:37
edited the question to include the full script
– zander
Nov 19 at 3:21
Works perfectly on my system (Win10, Logitech Gaming Mouse G600) in this program (MagicaVoxel-0.99.2-alpha-win64).
– user3419297
Nov 19 at 14:08
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I'm trying to make all my apps have the same navigation keys as the app I use most (blender). I set up a script where when I shift middle click, it sends a middle click (middle click alone is reassigned to send left click). It works but the only problem is that I have to press shift every time I click, but I want to be able to just hold down shift and click many times to activate the AHK send.
here's the full script so far
#SingleInstance ignore
#IfWinActive ahk_exe MagicaVoxel.exe
{
;Middle Mouse Button activates rotate
MButton::
Send, {RButton down}
KeyWait, MButton
Send, {RButton up}
Return
;shift Middle Mouse Button activates pan
+MButton::
Send, {MButton down}
KeyWait, MButton
Send, {MButton up}
Return
}
keyboard-shortcuts autohotkey
I'm trying to make all my apps have the same navigation keys as the app I use most (blender). I set up a script where when I shift middle click, it sends a middle click (middle click alone is reassigned to send left click). It works but the only problem is that I have to press shift every time I click, but I want to be able to just hold down shift and click many times to activate the AHK send.
here's the full script so far
#SingleInstance ignore
#IfWinActive ahk_exe MagicaVoxel.exe
{
;Middle Mouse Button activates rotate
MButton::
Send, {RButton down}
KeyWait, MButton
Send, {RButton up}
Return
;shift Middle Mouse Button activates pan
+MButton::
Send, {MButton down}
KeyWait, MButton
Send, {MButton up}
Return
}
keyboard-shortcuts autohotkey
keyboard-shortcuts autohotkey
edited Nov 19 at 3:21
asked Nov 18 at 13:43
zander
63
63
The first key in a combination (in this case Shift) doesn't need to be released for repeating the combination-action, unleess you useKeyWait, Shift. Something else is wrong in your script. How do you assign MButton to send left click?
– user3419297
Nov 18 at 18:37
edited the question to include the full script
– zander
Nov 19 at 3:21
Works perfectly on my system (Win10, Logitech Gaming Mouse G600) in this program (MagicaVoxel-0.99.2-alpha-win64).
– user3419297
Nov 19 at 14:08
add a comment |
The first key in a combination (in this case Shift) doesn't need to be released for repeating the combination-action, unleess you useKeyWait, Shift. Something else is wrong in your script. How do you assign MButton to send left click?
– user3419297
Nov 18 at 18:37
edited the question to include the full script
– zander
Nov 19 at 3:21
Works perfectly on my system (Win10, Logitech Gaming Mouse G600) in this program (MagicaVoxel-0.99.2-alpha-win64).
– user3419297
Nov 19 at 14:08
The first key in a combination (in this case Shift) doesn't need to be released for repeating the combination-action, unleess you use
KeyWait, Shift. Something else is wrong in your script. How do you assign MButton to send left click?– user3419297
Nov 18 at 18:37
The first key in a combination (in this case Shift) doesn't need to be released for repeating the combination-action, unleess you use
KeyWait, Shift. Something else is wrong in your script. How do you assign MButton to send left click?– user3419297
Nov 18 at 18:37
edited the question to include the full script
– zander
Nov 19 at 3:21
edited the question to include the full script
– zander
Nov 19 at 3:21
Works perfectly on my system (Win10, Logitech Gaming Mouse G600) in this program (MagicaVoxel-0.99.2-alpha-win64).
– user3419297
Nov 19 at 14:08
Works perfectly on my system (Win10, Logitech Gaming Mouse G600) in this program (MagicaVoxel-0.99.2-alpha-win64).
– user3419297
Nov 19 at 14:08
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53361535%2fauto-hot-key-input-for-continuously-holding-shift-while-clicking-instead-of-hit%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
The first key in a combination (in this case Shift) doesn't need to be released for repeating the combination-action, unleess you use
KeyWait, Shift. Something else is wrong in your script. How do you assign MButton to send left click?– user3419297
Nov 18 at 18:37
edited the question to include the full script
– zander
Nov 19 at 3:21
Works perfectly on my system (Win10, Logitech Gaming Mouse G600) in this program (MagicaVoxel-0.99.2-alpha-win64).
– user3419297
Nov 19 at 14:08