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.
1,365
questions
0
votes
5
answers
38k
views
Is there any way to keep my mouse moving continuously? (without using mouse jigglers)
There is an app that continously monitors all the other apps that I'm using, but it only registers me to be "working" if my mouse/keyboard is moving. So is there any way to get my mouse to ...
1
vote
1
answer
664
views
Shortcut to Open Folder in New Window with AHK
The problem: in Windows 10, at least version 1809, there is no shortcut to open a selected folder in a new window. Some say they can do it with ctrl-double click or ctrl-enter. None of this, however, ...
2
votes
1
answer
277
views
Another Bracket Script issue
I use AutoHotKey to autocomplete all kind of brackets in the following way:
typing ( gives ( -> opening brace bracket only
typing (( gives () -> open & close brace with input ...
0
votes
2
answers
173
views
Extract compressed file - Autohotkey
I have WinRar installed and I would like to know if the program has command line functions to extract the compressed files using a hotkey with autohotkey. I haven't found this, so I've seen other ...
1
vote
1
answer
444
views
Why is the order of modifier keys important in AHK?
I'm using Autohotkey to perform a macro when Alt+Control+f is pressed within Electron.
I have:
#SingleInstance
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
...
1
vote
1
answer
354
views
hold CTRL+Double Left Click to open file location on shortcuts
I work with shortcuts of my files and folders very often. Currently we right click on a Shortcut and then look for Open file locationand click on it So...
Do you know any method to achieve this easier/...
0
votes
1
answer
176
views
How to trigger on alt without triggering on alt+shift and alt+ctrl
In ahk2
LAlt & l::
triggers on lalt+l, lalt+shift+l and lalt+ctrl+shift+l.
I want it to trigger on lalt+l only. In other words I want it to NOT trigger on lalt+shift+l and lalt+ctrl+shift+l.
Is ...
1
vote
1
answer
561
views
How to get caret positon in a text with AHK?
I want to assign a hotkey to do 3 clicks where the caret position is in a text to select a paragraph from a text on "Anki Add editor" (I don't want to press 3 clicks by mouse).
For this ...
1
vote
2
answers
549
views
AutoHotPie radial menus [closed]
AutoHotPie is an app that I recently discovered and it displays a context sensitive radial menu. It has an option that interacts with autohotkey and I think it's possible to write custom scripts, but ...
0
votes
2
answers
642
views
AutoHotKey run cmd with pretyped text, without executing
Existing Q&A's handle running commands, but I simply wish to open cmd with pretyped text, since a part of the command changes with each use.
Fully dummy example, I'd like to launch cmd with del &...
0
votes
1
answer
584
views
MS Word shortcut key presses for inserting bookmark, sequence, and cross referencing? (Legacy menu Alt+I shortcuts)
It appears my MS Office had updated recently (2023, June/July), and some prior useful MS Word keyboard shortcuts no longer work.
Are there any alternative keyboard shortcuts for the following items?
...
0
votes
1
answer
111
views
Check if the pointer is on restore button of a window - autohotkey [closed]
I would like to know a piece of code that allows if the mouse pointer is over the restore "❐" button.
I would like pressing and sliding the restore button to the side to split the current ...
2
votes
1
answer
1k
views
Why is the Alt key released and pressed in AutoHotkey's KeyHistory?
I have an AutoHotkey script that sends the left arrow key when Alt + A is pressed. I also enabled KeyHistory.
KeyHistory
!a::Send "{Left 1}"
When I open KeyHistory and press Alt + A, ...
0
votes
1
answer
124
views
How to automatically run a specific program when another specific program is closed?
I want ahk_exe QTranslate.exe to be running automatically in system tray as soon as another program ahk_exe pycharm64.exe is closed.
I've tried this:
Loop {
if WinExist("ahk_exe pycharm64....
0
votes
1
answer
779
views
How to close a specific program from the system tray Using AHK?
I have a specific program that is running in the system tray icon ("ahk_exe QTranslate.exe"), I want it to be closed automatically from the system tray icon if it is running whenever I open ...