Skip to main content
Filter by
Sorted by
Tagged with
-2 votes
0 answers
37 views

I'm completely new to Minecraft automation and need help from scratch. Task: Excavate a 25×25×25 block area in Minecraft. What I have: Minecraft 1.8 AutoHotkey Python OpenCV Anything you can offer ...
funerary trap's user avatar
0 votes
1 answer
54 views

I use the following script, but unfortunately it doesn't lead to the desired outcome: #If WinExist("ahk_exe Microsoft.Media.Player.exe") Send ^m
Simon Ferndriger's user avatar
1 vote
1 answer
78 views

I'm creating a program where everything works fine, except for the MouseMove instruction. i got the x,y coordinates from using GetMousePos then saving it to the clipboard Why is MouseMove not actually ...
justahighschooler's user avatar
0 votes
1 answer
108 views

I'm using this code as an alternative for Alt Tab menu: ^q:: AltTabMenu() ; AltTabMenu-replacement for Windows 8: AltTabMenu(){ list := "" Menu, windows, Add Menu, windows, ...
IGRACH's user avatar
  • 3,726
0 votes
1 answer
100 views

I’m trying to remap the right mouse button to act as the middle mouse button in C++ on Windows. What I did I wrote code using Raw Input (see below). My code successfully sends a middle click when I ...
KIM JAEWON's user avatar
2 votes
0 answers
42 views

Calling chrome.ahk outputs error and script file is not executing. I tried using Chrome.ahk library by calling #Include Chrome.ahk in the following way. However upon running the script , get the error ...
Maral's user avatar
  • 21
1 vote
1 answer
73 views

I'm currently trying to map some shortcuts to better match my windows keyboard shortcuts to those similar of a mac. Windows Powertoys is an option, but I'd really like to understand how to get this ...
Toemass's user avatar
  • 13
1 vote
1 answer
95 views

My AutoHotkey script sends the F4 key to a Ragnarok Online game window through its PID whether it's in the background or not. It works until the CTRL or ALT key is pressed and held (the expected ...
ALESTE's user avatar
  • 11
1 vote
1 answer
76 views

I have a gaming keyboard where the keys trigger at the start of the press instead of at the end like with normal keyboards. For almost all of the keys this is absolutely fine, but the spacebar is ...
Samantha A.'s user avatar
0 votes
1 answer
139 views

I have this issue I have been unable to solve elegantly. I provided the below code as a reproducible sample If I trigger shift + f23, then release shift but still holding down f23, if I press control, ...
Ralf_Reddings's user avatar
1 vote
1 answer
103 views

how do i get WASD to mirror the exact same actions that the arrow keys do? Say if I hold the Up arrow key for a few seconds I'm trying to get W to mirror the same. This is what I've tried so far Up:...
John Smith's user avatar
0 votes
0 answers
53 views

the below code works and it is for a single file. How could the code be modified to work for an array or multiple files? The code basically triggers a backup job with its status shown on a progress ...
Fred's user avatar
  • 13
0 votes
2 answers
171 views

In Windows, with AutoHotkey (AHK), how do I substitute each middle-click to be shift-click? Also is it possible to map middle-drag to be Ctrl + drag? Here is why: I am one-handed, and I cannot use the ...
Alexander Gelbukh's user avatar
0 votes
0 answers
31 views

I am on Windows 11 and have swapped the Alt and Ctrl keys to emulate keypresses on a MacBook. Consider the following sequence of keypresses to cut everything and paste, which works: Alt (Ctrl) + A =&...
J. Doe's user avatar
  • 857
0 votes
1 answer
120 views

I want to jump to the corresponding input box by the class name of the control, and then enter the data in the CSV. This code works on my PC, but I found that the class name of the control is ...
夏浅沫's user avatar
0 votes
1 answer
161 views

I often copy an image into the clipboard from within an application (using its own method rather than a screenshot) and I want to setup a keyboard shortcut to open IrfanView and paste the image from ...
Edward's user avatar
  • 103
0 votes
0 answers
21 views

Good day, I'm trying to improve my OOP competence and trying to create a code to generate a single window(gui) which hold n checkboxes based on the files the code finds in a specific folder. The idea ...
John Smith's user avatar
0 votes
0 answers
50 views

F1:: ; SoundSet, +1, MASTER, mute,3 ; SoundGet, master_mute, , mute, 3 ToolTip, Mute %master_mute% ; SetTimer, RemoveToolTip, 1000 return RemoveToolTip: SetTimer, RemoveToolTip, Off ToolTip return It ...
Name's user avatar
  • 1
0 votes
1 answer
141 views

Recently I was asking around how to detect when a new window is created, and a user on Reddit (plankoe) gave me a solution I was very happy with. I have been using their solution for a few days now, ...
Ralf_Reddings's user avatar
0 votes
2 answers
460 views

I am trying to swap windows on my screen. The MsgBoxes work but WinMove doesn't: { ... ; Move from Monitor 1 to Monitor 2 if (WinX >= Monitor1X && WinX < Monitor1EndX) { ...
Gökhan Dumlupınar's user avatar
0 votes
1 answer
121 views

I have been trying to learn more about the hotkey command, I am stuck on a aspect of it. Lets say my script starts with a series of hotkeys enabled, initialised with the double colon, but at some ...
Ralf_Reddings's user avatar
0 votes
1 answer
35 views

I want to use breakout(var) instead of typing that if statement a million times. How do I make that work? Return returns from the function but I want to end the hotkey. f::{ send "a" ...
kite's user avatar
  • 313
-2 votes
1 answer
92 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
  • 313
0 votes
0 answers
89 views

My AutoHotkey v1 code: Run, notepad Send hello world Send ^s It only opens Notepad but I want it to also type "hello world" and make it press Crtl+S.
Tage Lundgren's user avatar
0 votes
0 answers
40 views

I am trying to if I hold down "Browser_Back" and press F or J move left or right, conversely while holding "Browser_Back" and then hold down space and press F or J I can select one ...
Ralf_Reddings's user avatar

1
2 3 4 5
95