Autohotkey 2 keys at once
Autohotkey 2 keys at once. As Nwb says Send, {a} {b} will send keys quickly, but using that, at no point are the two keys "held" simultaneously (It presses, then releases each key in sequence). Thanks In Advance. But i dont have a clue how to do this or if anyone will understand what Im asking. Typing text is simpler, so we'll start there: just call the SendText function, passing it the exact text you want to send. . Its really hard to work with it. *w:: Send {w}{k} If you want more commands after that, you'll have to do something like this: *w:: Send {w}{k} ; More code return Oct 12, 2013 · 2 keys at once for AfterEffects - posted in Ask for Help: I just started using an older version of Adobe AE and i used to move my composition by clicking the scroll button on my mouse. I want to bind 2 keys to 1 key press. Last edited by BoBo on Sun Mar 14, 2021 3:10 pm, edited 1 time in total. If press d, it does d and 5. Autohotkey documentation here says that combinations of three or more keys are not supported. But now for me in the older versions you have to press the key H and the Left mouse button to move. So I made a script like this:1::Send {s down}{d down}{s up}{d up}But it doesnt work. Aug 16, 2017 · Repeating or Holding Down a Key. To be specific I'd like to press tab and then q and receive the output of F1. How can I hold the up button for 2 seconds, but hold the left button for 1 second? this is my code: Button Up Down Sleep 2000 Button Up Up Button Left Down Sleep 1000 Button Left Up By the time it makes it to Nov 7, 2021 · Basically, I am trying to make a combo macro where it does the combo for you, the problem is I don't know how to make the program press 2 keys at once. You need to tell AutoHotkey to hold the key down. I need it to work like normal key presses. here the ressources I've found, I tried them but they didn't worked for me, (though english isn't my native May 7, 2022 · OMG thank you!!! I know about n-key rollover from various places, but I hadn't thought to check mine as I knew I had plenty of keys worth of rollover, but apparently I only get 4 keys per hand. Feb 5, 2014 · Page 1 of 2 - Two keys to one key - posted in Ask for Help: Hello, i am trying to do this: LShift+LAlt = Ctrl (Then i press Shift+Alt combination i want it to act like Ctrl). Sory for my bad english, PLEASE HELP. All I needed to do was move the fifth key over to the other side of the keyboard! all the hotkeys work nearly 100% of the time now, tysm! Dec 30, 2013 · Small script that allows me to send 2 keys, by pressing just one. However Alt + Ctrl + Shift + X modifier key Aug 2, 2019 · I'm a novice here. To repeat a keystroke: Enclose in braces the name of the key followed by the number of times to repeat it. Thing is, outside of the game, when I press a, it sends wasd, but when I press d it sends the right keys s and d. II'm sorry if this question has already been answered, but I am wondering how to remap a hotkey to press two keys at the same time. Mar 11, 2012 · 2 keys at once - posted in Ask for Help: I want to press Ctrl and 1t together instead of just ctrl or just 1 so like LCtrl +1::send blah blah blah. I just want to make a script to be able to send 2 keys with 1 key press but prevent 2nd key from being sent twice or more. Aug 4, 2009 · hi. After the above keys are pressed I then want to press the "q" character again (separately, not at same time). Basically, I want to remap END, to send END and DEL. What I want is a script that if I press a, it does a and 4. Nov 17, 2011 · Hold down two keys at once - posted in Ask for Help: im trying to autohotkey a car race game, I can autohotkey it to hold the up button for 2 seconds, but then i need to start turning. Try this: 1:: SendInput {c down}{f down}{k down}{c up}{f up}{k up} {enter} Return This tells AutoHotkey to press the key, but don't forget to tell it to lift the key up again afterwards ;). Sep 13, 2010 · I know one way to get multiple keys pressed at the same time. This is done with each letter switch. Sometimes I stop holding W while still pressing Q and W stops being pressed then after a second it activates again. Mar 20, 2018 · It really depends on what you mean by "Press at the same time". i thought it will be simple, but i cant get it. I basically want the H key and the LButton key to be pressed at the same time Mar 14, 2021 · Hi, I Wanted To Spam Multiple Keys, But All The Scripts I Found Are For Spamming A Single Key, I Want The Toggle To Be Scroll Lock And The Keys Being D, F, J And K. Send +{TAB 4} ; Presses Shift-Tab 4 times. V Script I have Below V t:: { Sendinput {click} Jan 15, 2007 · Two keys at once. Any advice/help would be greatly appreciated. To basically disable the CapsLock functionality, I used this code: (I hate the damn Caps key! Never really used it; just accidentally enable it!)SetCapsLockState, alwaysoffSo for example this script makes CapsLock+4: select all, copy, then hit space. I tried Jun 4, 2011 · In the way that you've done things at the moment the first key is released before the second is pressed. - posted in Gaming Questions: What Im trying to make is a script that allows me from a single a press to send 2 keys w and a, and when I press d send 2 keys s and d. for example: If I press or hold 'A' it should press/hold 'A' & 'RAlt' without any delay or duration limit. The monkeys will type away (likely with 4-5 letters at a time). The OTHER problem is, I want this for a game, but Mar 30, 2012 · 3 or More Keys at Once? - posted in Ask for Help: Hey guys first post :oops: I am using CapsLock as my personal modifier key. The problem is that when I use a & Ins:: the 'a' key doesn't work properly. It needs to keep doing the action until I release the button. r/AutoHotkey This is a place to get help with AHK, programming logic, syntax, design, to get feedback, or just to rubber duck. I can use Ins & a:: but because I can't predict which will be "read" first, I have to have the reverse as well. Jun 28, 2020 · I need to use hotkeys like Ctrl + 9 + 8, or Ctrl + A + B. Sep 26, 2014 · Pressing 2 keys at once - posted in Gaming Questions: I am trying to create acript that when I press 3 it also presses 6 as well as when I press 6 it also presses 3. Apr 24, 2016 · I'd like to know how to script so that two keys pressed and held in a specific order will press another key. To work around it, using the B & 1 example, make a hotkey for "b" that sends "b". However, DEL should not be send more than once every 1 sec, END needs to be send as many times as I press it. Oct 23, 2015 · Is there a way to press two keys simultaneously and bind it to a macro key (for example, pressing "s" and "d" simultaneously and then bind it to "a" key) without it having the "s" repeat multiple times when a is pressed? Feb 10, 2014 · You can create a custom key combination by typing the name of each key separated by an ampersand, like this: Keep in mind, though, that the first key will lose it's original function. Sep 26, 2005 · This situation requires constant checking of xbutton2's status: Loop { sleep 50 if GetKeyState("xbutton2", "p") { send {g down}{/ down} ; uncomment the next line and experiment with different numbers to simulate effects according to how long the keys are pressed [this may be unnecessary] ; sleep 10 send {g up}{/ up} KeyWait xbutton2 } } Jun 23, 2015 · I have searched this function and used the scripts but all didn't work. When sending keys, you generally want to either send a key or key combination for its effect (like Ctrl+C to copy to the clipboard), or type some text. Send {S 30} ; Sends 30 uppercase S characters. I tried all the codes in this thread but nothing seems to work. I want it to work like they would work if I pressed them both at once. I can get it to hit control and then hit f but not both at the same time. CapsLock & 4 Sep 1, 2013 · The insert key and a letter key is wired to a single tactile switch. So I need a script that can reliably hold the button pressed AND another button and work reliably even if that another button is pressed and released multiple times. - posted in Ask for Help: I cant find how to have the macro act as if two keys are being held down at the same time, such as CONTROL and F, for the find function in a browser. Aug 16, 2017 · I'm attempting to send three keys (Alt, Shift, Q) at same time using this script: :*:pk:: ; Send, {AltDown}{ShiftDown}{qDown} return When I run this is it does not release the keys, it seems like the Alt button remains pressed. For instance, if you had 10 total keys (5 for each hand, which means including thumbs), you could get 55 different characters from holding down no more than 2 at a time (10Choose2 + 10Choose1), or 175 with 3 or less (10C1+10C2+10C3) May 16, 2011 · How to send two keys at the same time? - posted in Ask for Help: I have a game that I need to press two keys at the same time. Jun 18, 2021 · I would like to use ctrl + w + x as a hotkey, but of course ^wx:: is an invalid hotkey. Mar 22, 2022 · but was not impressed. I tried: ^!::Ctrl but its not working. For example: Send {DEL 4} ; Presses the Delete key 4 times. So for example if I push the ctrl, I want it to push both ctrl and alt at the same time (it's for a game). Apr 8, 2020 · 1) Pressing G to activate G;Z;X;C;V;B;N;M;SPACE keys respectively with a 50ms delay between each activation (otherwise only the "G" key will work, I've just tested it) 2) After the whole script is executed, I need it to be turned off so I can type regularly mid-game if necessary Aug 4, 2017 · A) while I'm holding first key - script is waiting for the second key - then do the "combo" action - and i can release them both B) when I release this first key I get it's default behavior, NO "combo" action. Mar 15, 2011 · What i want is when i press w a s d one more key get pressed and it dont really mater with key it is it can be w+ctrl, w+k as long as both keys get use when i press 1. There is zero tolerance for incivility toward others or for cheaters. I tried to make something and it turned into an complete abortion. Get a room of typewriters, and a monkey for each one. hkrjgr davlh uxkb fytui qut ohakdew vduzgk vruskpd yoh jzixr