When Ctrl, then w - Зажатие клавищ
When Ctrl, then w - Зажатие клавищ
Пожалуйста помогите чтобы при зажатии клавиши ctrl зажималась клавиша w, как отпускал ctrl также и отжималась кнопка w!!
==================================================================================================================
Please help so that when pressing the ctrl key, the w key is pressed, as the ctrl key is released, the w button is also pressed!!
==================================================================================================================
Please help so that when pressing the ctrl key, the w key is pressed, as the ctrl key is released, the w button is also pressed!!
Re: Зажатие клавищ
Code: Select all
Ctrl::
Ctrl Up::
Send w
KeyWait, Ctrl
Return
Re: When Ctrl, then w - Зажатие клавищ
Hallo,
if both keys are to be pressed simultaneously, then:
if both keys are to be pressed simultaneously, then:
Code: Select all
~Ctrl::w
Re: When Ctrl, then w - Зажатие клавищ
@mikeyww
sorry, but can I do this when I have w clamped so that I press ctrl and it works 2 times w
sorry, but can I do this when I have w clamped so that I press ctrl and it works 2 times w
Re: When Ctrl, then w - Зажатие клавищ
Provide the exact sequence of what you type, step by step, and the exact sequence of how AHK responds, step by step.
Re: When Ctrl, then w - Зажатие клавищ
@mikeyww
When pressing ctrl, it was pressed in order 2 times w
When pressing ctrl, it was pressed in order 2 times w
Re: When Ctrl, then w - Зажатие клавищ
Code: Select all
Ctrl::
Send ww
KeyWait, Ctrl
Ctrl Up::Return
Re: When Ctrl, then w - Зажатие клавищ
@mikeyww
wweverything works, but I need to run fast for the game, for some reason this code does not work in the game purely for the inscription?
wweverything works, but I need to run fast for the game, for some reason this code does not work in the game purely for the inscription?
Re: When Ctrl, then w - Зажатие клавищ
If it works in Notepad but not your game, then the issue is how the game responds. You could look at https://autohotkey.com/board/topic/111737-how-to-make-ahk-work-in-most-games-the-basics/.
Here is a script just to send lots of W.
Here is a script just to send lots of W.
Code: Select all
Ctrl::
While GetKeyState(A_ThisHotkey, "P")
Send wwwww
Ctrl Up::Return
Re: When Ctrl, then w - Зажатие клавищ
@mikeyww
~Ctrl::w
from above, as I wrote it into the game, does it work, is it possible to do something here so that w is squeezed twice or so that the order is straight och fast
~Ctrl::w
from above, as I wrote it into the game, does it work, is it possible to do something here so that w is squeezed twice or so that the order is straight och fast
Re: When Ctrl, then w - Зажатие клавищ
For me, it still is not clear what you want to achieve, if none of these scripts work. The script from Rohwedder sends Ctrl+W when you press Ctrl. The sequence repeats while you hold the key. Check KeyHistory.