Autohotkey send sequence of keys. The sequence of keys to send.

Autohotkey send sequence of keys. Home Board index AutoHotkey (v1.

Autohotkey send sequence of keys 14. I wanted to use it for magicka so I thought I could use autohotkey to make it do the spell sequence at the press of the button. For example: The first time I press 3 Jul 26, 2021 · Home Board index AutoHotkey (v1. Use ControlClick for that. How can I go about doing this? Send, 4 Sleep, 10 Send, 3 } return ----- So I cast skills on the 3,4 key and right-click whenever they're available now I need the skill on button 3 to be launched 5 seconds after pressing the button, but WITHOUT delaying the skill on the right mouse button and on button 3 (which must always be launched when available) Dec 8, 2016 · Code: Select all $+w:: ; registers Shift+w hotkey ($ forces keyboard hook) Send, ^r ; sends Ctrl+r Send, {Down 5} ; sends down arrow key 5 times Send, {Enter} ; sends enter return ; finishes hotkey subrputine Feb 14, 2024 · Send "^c" ClipWait ; Wait for the clipboard to contain text. This is a usable workaround by just sending a numpad-key. Constantly Send a Sequence of Keys with a Random, set Intervall, Between X and Y. Home Board index AutoHotkey (v1. In that specific case, it would be like this: When I press ctr+shift+D than I what a sequence of the following keys: "ctr+shift+R" than "Enter" after that "ctr+shift+C" than "Enter" I tryed the following, but didn't work: Mar 3, 2014 · so, I scanned the code of these keys, hence . SendPlay Keys. One button on the mouse does the whole job. 1 and older) Ask for Help (v1) Sequence of keys Topic is solved Get help with using AutoHotkey (v1. Unlike the Send command, mouse clicks cannot be sent by ControlSend. EXE") ; SC029 is the scancode of the key "`" ; SC029:: ; KeyWait, SC029 ; return SC029 Up:: Send {SC029} return ; press 1 while you're holding down the "`"-key, to send a SC029 & 1:: Send a 1:: ; press 1 in less than 300 ms after pressing the "`"-key, to send b If (A_PriorHotKey = "SC029 Up" AND A_TimeSincePriorHotkey < 300) { Send {BS}b return } ; otherwise: if Mar 10, 2005 · F(freeze)and S( save). Oct 14, 2008 · How to send multiple keystrokes with one keypress? - posted in Ask for Help: So Im trying to send more than one keystroke with the single press of another key. I am also trying to save the sequence and delays in a . Sends simulated keystrokes and mouse clicks to the active window. See hotkey modifier symbols. Dec 10, 2024 · I'm looking for some help with a macro that will press a series of keys in sequence with a variable delay (50-70ms) between each keypress. Sep 1, 2011 · I want to make AutoHotKey listen to a key sequence, specifically Start - C -> D, and do some action. . ; MsgBox "Control-C copied the following contents to the clipboard:`n`n" A_Clipboard Send "^{F8}" SetKeyDelay 0 Send('{Enter}') ; code in the global scope runs when the script is first ran } Sep 3, 2020 · Can someone help me with my GUI? I am trying to send a sequence of keys with randomized delays, as well as false keys every once in a while. but I want a + enter for the code to run, so in this case it is only reading the first key press and then running the code. Mar 30, 2022 · Re: Sequence of keys with Right click Post by Xtra » Thu Mar 31, 2022 3:04 am For a game you might want to try adding the PressDuration parameter. Pressing F12 followed by 002 should launch do something else. Oct 4, 2017 · In the Send command, capital H counts as Shift+h which may result in a different action. Otherwise, specify the word Play to apply both to the SendPlay mode. After the above keys are pressed I then want to press the "q" character again (separately, not at same time). Thank you very much if someone does me the favor of doing it This should do what you want, just alter the sleeps to however long you want them. Mar 6, 2014 · In case someone's looking for a similar thing, but actually want Ctrl Q + Ctrl F and only if Ctrl is held throughout (so, to some, this might seem like Ctrl Q + F), then here's how to do that: ChordIsBroken := True. It is in normal AHK Send format, eg ^a or ^{a} to send Ctrl-A; When sending, any modifiers plus one key are sent at a time eg A SendString of ^a^{b}ccc will send in 5 chunks: ^a, ^{b} c, c, c; Tokens This tells SequenceSender to take a special action It is wrapped in the Token Delimiters ([and ]) I'm working on implementing dual-role modifier keys. 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. 1 and older) and its commands and hotkeys Feb 6, 2018 · What I need is a script that is pressing 2 keys in a timed sequence something like this: (5sec) press 1 -> (5sec) press 2, then go back an repeat. Oct 12, 2010 · Detect keypress sequence? - posted in Ask for Help: Hi, I have a request that may sound strange, but it is what I need. return -> this works but the two keys need to be pressed simultaneously and I Mar 30, 2022 · Re: Sequence of keys with Right click Post by Xtra » Thu Mar 31, 2022 3:04 am For a game you might want to try adding the PressDuration parameter. I'm not sure how to only test for Alt DOWN and Alt UP. ChordIsBroken := False. So for you, {Alt Down}{right}{Alt Up}. They affect only the very next key. I'm running this code: #Persistent SetTimer, PressTheKey, 5000 PressTheKey: Send, {1} SetTimer, PressTheKey2, 10000 PressTheKey2: Send, {2} Return but everything it does is to press both 1 and 2 Aug 24, 2017 · Hi, I'm new to AHK and am looking to make a sequence of key presses produce a symbol. Basically I want a single press of a key to restart any other "combo" scripts to the beginning and also activate its own "combo" script. - posted in Ask for Help: Hey, Im trying to remap a sequence of keystrokes that use SendInput. (It can also allow the script to update visual cues on each key-press. For example, send ) when pressing RShift alone, but RShift+key when pressed together with some other key. Source: AutoHotkey - Send / SendRaw / SendInput / SendPlay / SendEvent: Send Keys & Clicks Jul 18, 2014 · Input Key, L1 if Key=- Input Key, L1 if Key=- Send {ASC 0151} return ; En-dash ;!-:: ;Input Key, L1 ;if Key=- ;Send {ASC 0150} ;return The em-dash sequence works like Alt+-,-,-, instead of what I'm trying to match. Braces aren't needed around single-character key names, and don't use capital letters because it may send an unintended Shift key. Name of The sequence of keys to send. com I want that a sequence of keys are activeted, when I press some keys. Jul 8, 2015 · If I press another key, that key should register and the script should stop. Type: String, Integer or Object Jan 20, 2021 · I have a code that runs a sequence of key presses. SendInput Keys. The key right now is alt + f1, set it to whatever you want. I realize that using something like SetKeyDelay, SetBatchLines, and Send command could pretty much make it send both keys simultaneously, but there still is that very very very small increment of time between the two keys. You could set the key delay globally (then each hotkey action is single-line): SetKeyDelay, 100 ; ^`::Send 67890 Sep 11, 2018 · Autohotkey - hotkey 1 do something, key sequence 11 do another thing. Nothing happens. For example: Send {b down}{b up} Send {TAB down}{TAB up} Send {Up down} ; Press down the up-arrow key. I have tried the following without any success + & rbutton & wheelup:: send 6 +rbutton & wheelup:: send 6 shift & rbutton & wheelup:: send 6 Note: PressDuration also produces a delay after any change to the modifier key state (Ctrl, Alt, Shift, and Win) needed to support the keys being sent. I tried Feb 11, 2022 · Your code pressed and released the Ctrl key before sending a capital L. Send[Raw|Input|Play|Event]: Send Keys & Clicks. In that specific case, it would be like this: When I press ctr+shift+D than I what a sequence of the following keys: "ctr+shift+R" than "Enter" after that "ctr+shift+C" than "Enter" I tryed the following, but didn't work: Feb 26, 2021 · If I press F1, it triggers start1, and attempts to send F1 dynamically, as it's set in the header of the script. Mar 7, 2021 · Can someone help me with my GUI? I am trying to send a sequence of keys with randomized delays, as well as false keys every once in a while. !f1:: Send, e Sleep, 500 Send, `, Sleep, 500 Send, {Enter} Sleep, 500 Send, `, Sleep, 500 Send, {Enter} Return This tells SequenceSender to send some keys. 0. The OTHER problem is, I want this for a game, but Mar 27, 2023 · Send, sse a variable for number of repeats for key Post by dpgtbs » Mon Mar 27, 2023 10:04 pm I am trying to use a variable to specify the number of times a key is repeated with send. Jun 28, 2020 · SendFirstUp(key) { ; Function to send first key in case enableFirstUp(1) has been called SendLevel,1 ; If there is problems with the first up function, try to increase/remove this. For ex, press F1 and have autohotkey send the keys qwer - in sequence, not all at once. I wonder how I can cycle my keys with one button. Apr 22, 2013 · Each one of these keys will activate a different script the same as this one. In that specific case, it would be like this: When I press ctr+shift+D than I what a sequence of the following keys: Apr 1, 2021 · I would like to create a few shorcuts sequences such that pressing a key combination as ^k (ctrl+k) enters a state where I have 1 second to press another key and get different results for each key. I want to send long sequence of keys to a specific window, but while this script is running, if i click to activate a different window, the remaining keystrokes are sent to that window. Control. In other words I want to press the W key repeatedly and each time I do I want a different character to print out: For example: A then S Mar 10, 2011 · Cycle Keys with one button - posted in Ask for Help: Hey, I have searched, tested and looked for hours, now I give up and hope you guys can help me. Is it possible to have AutoHotKey detect the following sequence of keypresses: Ctrl+T, g, space And Ctrl+L, g, space When one of these two sequences occur, I want AutoHotKey to send Ctrl+K to the window in focus Feb 11, 2022 · Your code pressed and released the Ctrl key before sending a capital L. All scripting follows the rule Rule Of Twos -- 1) Good, 2) Fast 3) Cheap -- pick any Two. Here is another example: KeyWait, x, D KeyWait, x Send x KeyWait, r, D KeyWait, r Send 1 KeyWait, r, D KeyWait, r Send 2 reload Aug 21, 2019 · Good stuff. ) The Input command does not have the flexibility to stop when you press any unrecognized key, but InputHook() does. To send a literal comma, escape it (`,). 5 sec (t:=1500) which means if i dont hit the left mouse button for 1. One way to detect these would be to register a hotkey for the first key in the chord (^e) and then use the Input-Command to detect the next keys. exe). Thank you very much if someone does me the favor of doing it I don't think there is build-in support for key chords in AHK. - posted in Ask for Help: I was just curious if you could send two keys simultaneously. (Numpad1=A and so on). For example: Send {DEL 4} ; Presses the Delete key 4 times. Send +{TAB 4} ; Presses Shift-Tab 4 times. If (!ChordIsBroken && Asc(OutputVar) = 6) Sends simulated keystrokes and mouse clicks to the active window. and so forth It is important that the keys in the hotkey sequence do not get outputted - only whatever action Dec 21, 2009 · Send keys at the same time, not in sequence. I wanna build to following: O --> M --> A --> Backspace (18x in this sequence) Oct 8, 2012 · I would like to send a sequence of keystrokes using just one key to accomplish certain task in sublime text 2 using autohotkey. 1 and older I want that a sequence of keys are activeted, when I press some keys. I need to be able to remap the f key to simulate a single mouse left click up and down, wait a few seconds then simulate the s key being pressed then a slight delay again then the u key being pressed (all with only one left click) . The sequence is programmed using SendInput to Numpad keys, but I want to remap them to ABC keys. Mar 15, 2008 · Sequence of keys - posted in Ask for Help: Hello !I need some help with building a script that will be executed on a sequence of keys pressed, ie:Win+c (press and release) + t : that will execute one program with a certain configurationWin+c (press and release) + h : that will execute the some program but with a diferent configuration. Oct 30, 2016 · AHK has a built-in variable for both prior key and prior hotkey. Alternate solutions: If your key or mouse button is not detectable by the Key History screen, one of the following might help: Mar 30, 2013 · language: Autohotkey on Win7 "Shift" plus "right mouse button" plus "mouse wheel up" I want my hotkey to be holding those three keys simultaneously. Examples: Pressing F12 followed by 001 should launch a program or similar. 1. I want to Jul 8, 2017 · SendKey("x",34) ; call the function to send the single key "x" with a click delay of 34ms SendSeq("up,e,left,y,up,y,right,right,y,down,y") ; call the function to send a sequence of keystrokes with a default click delay of 50ms ExitApp } SendSeq(keyIndex){ key := StrSplit(keyIndex,",") Loop,% key. Ive got no clue how to do this. Check out AutoIt (what autohotkey was based on), _WinAPI_SetWindowsHookEx () function for complete key sequence capture. Mind you, this'll only work if you just want the symbol to be send, if you need to actually send the keystroke this won't help. This was my try. 1 and older) and its commands and hotkeys Feb 23, 2021 · So this sequence resets itself after 1. – Aug 10, 2014 · I can't believe myself, I've been searching Autohotkey help and the web for like half an hour, but I can't seem to find the explanation what syntax has to be used to send an arbitrary key combination. To set a mark in sublime text 2 the key sequence is Ctrl+K followed by Ctrl+Space. sc01e & sc01c:: send word . I need a script that sends one character out of a series of characters each time I press the hotkey and then loops back to the beginning. The sequence of keys to send. The characters ^+!# represent the modifier keys Ctrl, Shift, Alt and Win. Some response problems using two "key sequence" scripts in Autohotkey. To hold down or release a key: Enclose in braces the name of the key followed by the word Down or Up. (I find it awkward when I've begun a sequence by accident. Send {Ctrl Up} Return. Sample: when I enter a command, such as "circle" I then press the F5 key to send _ENDP to the command line ( say, to draw a circle at the end of a line, using the endpoint as the center point of the circle ) then I pick the line endpoint I want and draw the circle. Jan 26, 2021 · When trying to figure out the reason, I mimicked the code by pressing the keys directly, and found out that when not in full view, OneNote doesn't distinguish between holding down the Alt key when hitting the next key, and not holding it down. As with other commands, the comma in front of the first parameter is optional. If your focused program uses that binding, the command is executed. So please, where in the help file May 22, 2016 · So no keys need to be held while other keys are held, it is purely pressing and releasing keys in a sequence? As I said, the reason is probably that f is at the start AND the end of the sequence, so when it gets to the end it hits f, then at the start of the next sequence it hits f again. 1:: {S}{F}{Q}{F}{Q}{A}{A} It seems to work in this chat but in game it doesn't do Mar 30, 2022 · Re: Sequence of keys with Right click Post by Xtra » Thu Mar 31, 2022 3:04 am For a game you might want to try adding the PressDuration parameter. Oct 4, 2019 · Any out-of-sequence key is still blocked, but cancels the sequence. It should also start from the very beginning if I press x, not where it last stopped. For example, I want to send the combination of Left Control and left Windows Key if a certain key is pressed. So the script needs to know when I want that a sequence of keys are activeted, when I press some keys. So any help would be much appreciated. Pressing Numpad1 to get: F1,F2,F3,altF4 or like altQ, W,E,O,M Not all in one place like first F1 then F2 and so on. ) Jan 18, 2008 · "Send" command in a specific window - posted in Ask for Help: Hi! Im new here. Jan 23, 2021 · If I press another key, that key should register and the script should stop. 1 and older) Nov 25, 2023 · I managed to write up a rudimentary script that would just sequentially send messages from top to bottom and then loop back to the top but for my purposes, I would like to make it so that it would send the messages in a random order and with a random delay. Typing text is simpler, so we'll start there: just call the SendText function, passing it the exact text you want to send. The sequence of keys to send (see the Send command for details). If a script Aug 29, 2009 · Another option, similar to the Send options above, but without the slowness of SendRaw and without the interpretation of Send (and with some improvement over the stuck modifier keys problem) is:;; Alt-Control v SendInput,{Raw}%Clipboard% SendInput,{Alt}{Ctrl} ;; Try to release modifier keys return Nov 22, 2016 · #If WinActive("ahk_exe WINWORD. The only programming knowledge I have comes from a basic college class of Java. The en-dash sequence fails altogether to bind because !-has already been bound. Is it Oct 4, 2017 · In the Send command, capital H counts as Shift+h which may result in a different action. If I press F5, it triggers start5, and sends F1 statically. Jul 30, 2012 · Using one key to send multiple keys after eachother - posted in Gaming Questions: I got something like this, p:: Send {p} Send {o} return Now it does both keys at the exact same time, I want when I press p that It waits for like 0,5 second and then sends the o key. Type: String. Oct 19, 2018 · Code: Select all ^!+F1:: key++ ; this will help cycling through the keys depending on its value if key = 1 Send, ^{Numpad1} else if key = 2 Send, ^{Numpad2} else if key = 3 Send, ^{Numpad3} else if key = 4 Send, ^{Numpad4} else if key = 5 Send, ^{Numpad5} else if key = 6 Send, ^{Numpad6} else if key = 7 Send, ^{Numpad7} else if key = 8 Send, ^{Numpad8} else if key = 9 Send, ^{Numpad9} else if Sep 3, 2014 · I have lost my script file and cannot remember the proper syntax for my F Key scripts. Jun 25, 2014 · Pressing one key presses a series of keys? - posted in Ask for Help: I am very new to autohotkey and I tried reading the tutorials but I just dont understand any of it. Sometimes I need to press another key during the sequence and I need that key to go through instead. Jul 4, 2017 · Code: Select all ORP****:: Send !k Send !u Send {Enter} Send {Enter} Send {Enter} Send {Enter} Return I’m trying to make a script that presses esc, releases esc, presses L, releases L, presses enter (the return one), releases enter, presses the same enter/return key again, releases the enter key, and then waits a few seconds (3) before repeating this sequence of keys. For reasons I don't quite understand myself right now, you can't send this hotkey itself, not even if you move the line down below the hotkey def. In my actual script, I need to be able to Send {%btn1% up} and Send {%btn1% down} Dec 30, 2013 · Small script that allows me to send 2 keys, by pressing just one. However, that may move too fast for Word to keep up with. How can I do that? I couldn't find a way to define a key sequence. Otherwise it sends the next letter after each click. Unlike the Send function, mouse clicks cannot be sent by ControlSend. In that specific case, it would be like this: When I press ctr+shift+D than I what a sequence of the following keys: "ctr+shift+R" than "Enter" after that "ctr+shift+C" than "Enter" I tryed the following, but didn't work: Replace FF (if needed) with the ; key's virtual key, which can be discovered in the first column of the Key History screen. MaxIndex() SendKey(key[A_Index]) } SendKey(key Keys. sc01esc01c:: send word . Apr 29, 2019 · SequenceSender - Send sequences of keys - Easily Start / Stop (Even mid-sequence!) / Sleep / Random Sleep Post your working scripts, libraries and tools for AHK v1. Each script is a plain text file containing lines to be executed by the program (AutoHotkey. You may need to either break the Send command into individual lines, one key per line, and put Sleep commands between the Send commands, or you can use SetKeyDelay. WinTitle Oct 11, 2019 · Hey guys, I'm testing around with Autohotkey for the first time, figuring out how everything works. This sequence would continue to repeat infinitely after the sequence I'm looking to make a script to press a key that presses one defined key and then the next time i press it press a different key. By default (that is, if neither SendRaw nor the Raw mode or Text mode is used), the characters ^+!#{} have a special meaning. 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. The script that you have is similar, but you would need to change the keys listed so that they match your sequence. Using a key list also Sep 26, 2024 · Get help with using AutoHotkey (v2 or newer) and its commands and hotkeys. Send {DEL 4} ; Presses the Delete key 4 times. Send Keys SendRaw Keys SendInput Keys SendPlay Keys SendEvent Keys Parameters Keys. 20-50 should be enough. #Requires AutoHotkey 2 Aug 24, 2015 · A sequence of characters one at a time when I press the HotKey - posted in Gaming Questions: New to AutoHotKey scripting. - 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. The tricky part is that I want ANY key input to stop the sequence from running. 43+] If blank or omitted, the delay and press duration are applied to the traditional SendEvent mode. For ctrl + c copying, for example, Send, {Ctrl down}c{Ctrl up} is apparently more reliable than Send, ^c. ; Tested with AHK_L U64 v1. I tried . Evaulate the key pressed using If command, If true, then have another Input command evaluate the next key press etc etc Aug 5, 2007 · Sequence of keys - posted in Ask for Help: What is the syntax for assigning a sequence of keys (such as ctrl+right followed by left) to a single key? Thank you, T. I want a script that sends different keys each time a button is pressed. Aug 16, 2017 · To repeat a keystroke: Enclose in braces the name of the key followed by the number of times to repeat it. The rate at which characters are sent is determined by SetKeyDelay. Such as, if I press 'a' and then '1' less than 2 seconds after it produces 'b' or something similar. Send, % key return } Send(str) { ; Mostly for testing, but works if wanted. However, that has one flaw: Even when combining RShift with some other key, ) is still sent. 1. There's one issue I am having. Nov 28, 2014 · Many times i'll put the keys i want to send into a list of keys with any cooldowns they need and the cast times if any. Ask gaming related questions (AHK v1. I have tried with counter and stuffs but I dont seem to get it to work. By default (that is, if neither SendText nor the Raw mode or Text mode is used), the characters ^+!#{} have a special meaning. I didsomething like this:#c:: keywait,t,D Run C:\telindus The sequence of keys to send. SendEvent Keys. I just want a simple script that will let make my game think I am pressing 4, then 5, then 6, then 9, then r, just from pressing the single key f5. Send {S 30} ; Sends 30 uppercase S characters. Aug 22, 2015 · This can be achieved by Assigning Key A as a Hotkey and then having a Input command evaluate the next key press. SendRaw Keys. Sometimes, I don't want the script to finish and I need to press a different key in the middle of the sequence. Keys. Input, OutputVar, L1 M. The sequence of keys to send (see the Send function for details). This sequence will not stop until it is finished. Any help appreciated. Then I'll use like the middle mouse button to send the keys one at a time with their individual cooldowns and cast times built right in. I want the defined key (or combination if using modifiers) to press Ctrl+Alt+Shift+1 then next time I press it To press Ctrl+Alt+Shift+2 I can define the shortcut without modifier if that make it possible. If anyone could tell me how to do this it would be greatly appreciated. Play [v1. In that specific case, it would be like this: When I press ctr+shift+D than I what a sequence of the following keys: "ctr+shift+R" than "Enter" after that "ctr+shift+C" than "Enter" I tryed the following, but didn't work: Nov 14, 2014 · Remapping a sequence of keys. In other words I want to press the W key repeatedly and each time I do I want a different character to print out: For example: A then S Mar 20, 2021 · Home Board index AutoHotkey (v1. ini file so I don't have to enter them manually every time, which is one of the main issues. To send the corresponding modifier key on its own, enclose the key name in braces. 03 (and Visual Studio 2010) ; This doesn't block the input. Once the F is pressed it changes to U (unfreeze). 1 and older) Ask for Help (v1) Gaming Help (v1) Auto repeat a sequence of keys for a game. Feb 25, 2011 · Trigger action on sequence of hotkeys - posted in Ask for Help: I would like autohotkey the trigger an action when I press a combination of keys. See my edited answer if you sometimes need to go alt+left. 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. Thank you very much if someone does me the favor of doing it Aug 24, 2015 · A sequence of characters one at a time when I press the HotKey - posted in Gaming Questions: New to AutoHotKey scripting. Beginner :roll: Jan 29, 2011 · Hi,I'm new to autohotkey and I looked up on the wiki on how to make a sequence of keystrokes when I press a button. #IfWinActive, ahk_class PX_WINDOW_CLASS Numpad0::Send ^k sleep 5, Send ^+Space #IfWinActive I want that a sequence of keys are activeted, when I press some keys. When I press the numpad manually, it works. Sep 26, 2024 · Get help with using AutoHotkey (v2 or newer) and its commands and hotkeys. Jan 23, 2015 · The universe is a wondrous place! The faster you create unbreakable code, the faster the universe creates people that can break it. Basically, RShift on keydown, and RShift up and ) on keyup. Mar 23, 2018 · I want that a sequence of keys are activeted, when I press some keys. However, when in full view mode, the Alt key should be released before pressing the next key. Feb 25, 2018 · I would like a sequence of keys to be executed that would be f2 + 6 times the down arrow + enter + enter, this sequence every 15 seconds, also if a key can be turned on and stopped as the whatever. You will find in the help that it does mention that in sending keys it is best to hold them expressly. 5 sec it always sends A. Thanks in Autohotkey doesn't support multiple commands per line (semicolons denote line comments). I can't find where is the information exactly in the documentation but I guess that's in relation with the send and setkeydelay command. Aug 3, 2018 · Hello all, I would like to remap a key so that when I press it, it executes a key sequence (preferably with a 1-second pause between). See full list on autohotkey. return -> when I press "a" the code runs. #c::Send {vkFFsc159} ; See Send {vkXXscYYY} for more details. But when I run the sequence (with ^!H:: ) the keys dont get remapped and inputs the Numpad numbers. it's pretty long but it's pretty simple. If you have three independent key presses (not a sequence of two, and not holding any of the keys), then the first option mentioned above is probably a better choice. The documentation itself states. Jul 4, 2017 · Code: Select all ORP****:: Send !k Send !u Send {Enter} Send {Enter} Send {Enter} Send {Enter} Return Jun 26, 2008 · How to send different keys each time a button is pressed? - posted in Ask for Help: I have been browsing the documentation but am unable to script this myself. purlcgo itww vtjnie gsas sha rlc mrdhpvn lvgko yysbmah hxzey