Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
47 views

I am relatively new in AHK so I apologize for my basic lack of knowledge. I have the following script: xpos1= xpos2= SetMouseDelay,-1 SetBatchLines, -1 col_outher_circle=0xFFFFFF col_gray_area=...
i.svirchev's user avatar
-2 votes
1 answer
98 views

test(key){ send "{key down}" ;no ; send "{%key% down}" ;no sleep 500 send "{key up}" } test("w") ;test(w) doesnt work either as per the manual %...
kite's user avatar
  • 363
-2 votes
2 answers
61 views

My code: #Requires AutoHotkey v2.0+ TextToSend := FileRead("textToSend.txt") lines := StrSplit(TextToSend, "\n") :*:st::{ Loop { SetKeyDelay 10000 ...
Ooker's user avatar
  • 3,404
-2 votes
1 answer
250 views

I expect this code: #Requires AutoHotkey v2.0+ #SingleInstance Force ar := [1, 2, 3] i := 0 :*:ab:: { Loop 3 { a := StrCompare(ar[i], "Hi") Send(a) i++ } } to work ...
Ooker's user avatar
  • 3,404
0 votes
2 answers
87 views

I'm a noob, so this might look ugly and could probably be improved. The script below does the following: When capslock is activated and Spacebar is pressed down Submit a space every 10ms This works ...
user0000001's user avatar
  • 2,273
-1 votes
2 answers
95 views

AUTOHOTKEY v2.0.18 I have 2 codes. One works flawlessly and the other, which is almost exactly the same, does not. Can you identify where I'm going wrong here please? WORKING - TEST CODE TO GET IT TO ...
itz_reecey's user avatar
0 votes
1 answer
55 views

this is actually a script for my little game.. when player is running (you need hold the shift to run faster/sprint) and if you do so the script does not work...you have to release the key and then ...
user24974510's user avatar
1 vote
1 answer
161 views

My keyboard broke, and some keys are not working. To overcome this situation, I wrote a simple script that makes the letter 'q' act as 'Tab' when I hold down 'Shift': +q::Send "{Tab}" The ...
Salva_Karaka's user avatar
0 votes
1 answer
438 views

I'm trying to make a GUI window with an Edit control inside that will automatically resize to fit the GUI. How can I get the current dimensions of the GUI window? Here's my code: #Requires AutoHotkey ...
Speedy's user avatar
  • 35
0 votes
0 answers
152 views

I am bilingual (English and Persian), and I regularly switch between keyboard input languages by pressing Alt + Shift. Since it's not an easy type, I am trying to create a hotstring in Auto Hot Key (...
Siavash Mortazavi's user avatar
0 votes
1 answer
84 views

How might one check if a variable exists before using it? For example, you might have an Object that can contains 36 keys, one for each alphanumeric character, and you want to set another variable to ...
Speedy's user avatar
  • 35
2 votes
1 answer
277 views

I'm having trouble with an AutoHotkey script where a hotstring isn't replacing the trigger text correctly. Here's the specific line of code I used: :*:;container;::>[!blank-container|float-left-...
Epimu Salon's user avatar
1 vote
1 answer
2k views

I would like to select text, press a hotkey to trigger an application open, paste the selected text into the newly opened application. In my case, my application is called everything, a file locator ...
Xianzhi Li's user avatar
1 vote
1 answer
415 views

I'm not sure if I'm using classes wrong, but any assistance would be appreciated. I'm using Autohotkey V2 and I'm trying to make a class extend to another class. Class Person{ __New(info){ this....
UnusualSoul's user avatar
0 votes
1 answer
126 views

In the ahk script, i have created an action to change tabs by clicking the Xbutton1(back button) of my mouse with the scroll of the mouse. So when i press xbutton1 and scroll up or down the tabs in ...
Rohit Jambhulkar's user avatar
0 votes
2 answers
112 views

I'm trying to fix double-typing on my keyboard. For this I want to use an AutoHotkey (2) script like this: SendMode "Input" #SingleInstance *g:: { Send "{g}" Sleep 50 } ...
TryingToLearn's user avatar
0 votes
1 answer
863 views

I am trying to load a program via AutoHotkey script so I can identify the existance of an element on the loaded GUI. It normally takes about 15 seconds for everything on the scree to load completely ...
Mike's user avatar
  • 55