Skip to main content

Questions tagged [autohotkey]

AutoHotkey (AHK) is a free, open-source macro-creation and automation software for Microsoft Windows that allows users to automate repetitive tasks. It is driven by a scripting language that was initially aimed at providing keyboard shortcuts, otherwise known as hotkeys, that over time evolved into a full-fledged scripting language.

0 votes
1 answer
18 views

Autohotkey not sending some of the commands

I have an autohotkey script that is moving the cursor around the screen, clicking and editing data, and (should also) copy and paste information. The copy and pasting does not seem to work and after ...
Tanaka Saito's user avatar
0 votes
0 answers
67 views

Windows explorer is in an infinite crash loop after installing a MS Store App

I'm running Windows 11 23H2. I installed this AutoHotKey port from the MS store: https://apps.microsoft.com/detail/9nq8q8j78637?hl=en-gb&gl=US/ Immediately after installing, my windows explorer ...
Utkarsh Agarwal's user avatar
0 votes
0 answers
15 views

Autohotkey 2 using InputLevel for a hotkey in a hotstring not working

Autohotkey seems clear that you can use a hotkey in a hotstring by using#InputLevel, but none of the four hotstrings below work for me. If, instead of using \ in the hotstring, I use some un-mapped ...
Chris F Carroll's user avatar
0 votes
0 answers
26 views

How to create an AutoHotKey v2 hotstring with a backslash in the trigger

This hotstring in my ahk file doesn't work: ::1\2::½ Other hotstrings work, but not this one. I assumed the problem was that backslash is a hotstring EndCharacter so I tried also doing: #Hotstring ...
Chris F Carroll's user avatar
-1 votes
1 answer
56 views

Triple actions shortcuts (Single, Double, Hold) with combination of single key and modifier keys

I have been looking for triple action (Single tap, Double tap, Hold) shortcut mapping method that I can easily tweak and assign with AHK and I have finally found this amazing solution. This single, ...
JinS's user avatar
  • 11
1 vote
0 answers
22 views

AHK script causes lag in Photoshop when using WinTab

The problem only happens when using WinTab. I added the following to PSUserConfig.txt # Use WinTab UseSystemStylus 0 Here is my test script. It will show a white block near the cursor. I've set ...
rint's user avatar
  • 181
0 votes
1 answer
49 views

Key remapping is causing the Ctrl+Alt+Del to be executed in AutoHotKey

In windows when I press Ctrl + Delete in a text editor, a whole word in front of the cursor gets deleted and I want to remap this to the combination: Left Ctrl + Left Alt + P, which means when I press ...
VFX's user avatar
  • 101
0 votes
1 answer
134 views

Disable Ctrl Key in Photoshop using AHK

This is what I have tried. LCtrl is disabled successfully but all the shortcuts using Ctrl such as Ctrl+Z are also disabled. I don't know why {vkE8} isn't working. #IfWinActive ahk_exe Photoshop.exe ...
rint's user avatar
  • 181
0 votes
1 answer
81 views

How can autohotkey minimize this window if there is no minimize button on it?

I installed IDM software on my system, and this pop-up appears in the middle. There is no minimize button, so the only way to close the window is by using the solution. However, Autohotkey with a ...
M. K Ang's user avatar
2 votes
2 answers
915 views

How to hide or disable the cmd console when starting an executable

I wrote an executable that displays a window on the screen and gets some use input. It is bound to ⊞ Win+N: #n:: Run "C:\Perso\dev-perso\dly\dly.exe" My problem: this also opens a cmd (or ...
WoJ's user avatar
  • 3,253
0 votes
0 answers
15 views

Is there a way to automatically switch between two windows of the same app in Windows 10 [duplicate]

I have two windows of the same program that i am constantly switching over manually, (each window needs the whole screen). Is there a way to automate the process of switching between them for let's ...
Elk imad's user avatar
1 vote
1 answer
33 views

I want to reuse GUI code instead of making multiple copies, but GUI is not showing text properly

I want to reuse GUI code instead of making multiple copies (code redundancy), but the problem is that when I press 1 it shows First,  but when I press 2 it still shows First instead of Second. This ...
JethroT's user avatar
  • 17
0 votes
1 answer
68 views

Rebinding Direct Input joystick keys

A game I want to play reads joystick/gamepad input, but doesn't support key rebinding. Whenever Joy6 is pressed, game fastforwards text, and I want this key to increase system volume instead. ...
aiyo4930aiyo's user avatar
1 vote
1 answer
108 views

This single, double and hold AHK script is not working

I found this script from https://autohotkey.com/boards/viewtopic.php?f=5&t=51596 it works perfectly. I like that it is easy to understand and change your desired key easily. The thing is: It ...
ene adelehum's user avatar
0 votes
3 answers
60 views

Where to put caps lock remapping in vim_ahk (AutoHotkey)

Where in the rcmdnk/vim_ahk AutoHotkey package (which file) should I try to remap the caps lock to esc? I know little about AutoHotkey, and for the longest time my entire AHK script consisted of: #...
bongbang's user avatar
  • 133

15 30 50 per page