Ahk code using control to hold keys
-
- Posts: 9
- Joined: 03 Dec 2021, 11:09
Ahk code using control to hold keys
Hi, I need a code capable of holding the "q" key using the control. It's kind of complicated to explain, but I think you'll understand. When I press the "q" key, the control will be activated and it will only stop when I release the "q" key. I believe this is possible, because on a normal keyboard, after holding the control, you can't send anything, it kind of holds the keys.
Re: Ahk code using control to hold keys
Code: Select all
q::Ctrl
-
- Posts: 9
- Joined: 03 Dec 2021, 11:09
Re: Ahk code using control to hold keys
@mikeyww After I release the "q" key, it has to activate, understand? In that code you sent, the "q" doesn't work.
I need the control to hold while I press the "q", when I release the "q" must activate.
I need the control to hold while I press the "q", when I release the "q" must activate.
Re: Ahk code using control to hold keys
I do not understand. What the script does: 'When I press the "q" key, the control will be activated and it will only stop when I release the "q" key.'
-
- Posts: 9
- Joined: 03 Dec 2021, 11:09
Re: Ahk code using control to hold keys
@mikeyww It's something like this mechanic: c up::send wa. However, I want the control to hold the key, and when I release it, the key is activated
Re: Ahk code using control to hold keys
I am not following this. The instructions are vague to me. The original post says nothing about "c", "w", or "a". I don't know what key is meant, or what "activated" is.
-
- Posts: 9
- Joined: 03 Dec 2021, 11:09
Re: Ahk code using control to hold keys
@mikeyww Sorry, I'm using google translator, possibly strange words are coming out. Maybe this script I wanted is not possible to do :v
-
- Posts: 9
- Joined: 03 Dec 2021, 11:09
Re: Ahk code using control to hold keys
@VitinhoKeys Can you help me with something else?
Re: Ahk code using control to hold keys
That depends on the question.
-
- Posts: 9
- Joined: 03 Dec 2021, 11:09
Re: Ahk code using control to hold keys
@mikeyww is it possible to take the delay off the keys? I mean, make them respond faster?
Re: Ahk code using control to hold keys
You can use SendInput or change the SetKeyDelay. A remapping already uses a key delay of -1.
-
- Posts: 9
- Joined: 03 Dec 2021, 11:09
Re: Ahk code using control to hold keys
@mikeyww
Hmm understand, now going to another topic, do you know how to make scripts to copy sentences?
Hmm understand, now going to another topic, do you know how to make scripts to copy sentences?
Re: Ahk code using control to hold keys
I suggest creating a new post with the question. Include a specific example. In your post, define a sentence, too.
-
- Posts: 9
- Joined: 03 Dec 2021, 11:09
Re: Ahk code using control to hold keys
@mikeyww
Ok
Ok
Who is online
Users browsing this forum: Google [Bot] and 16 guests