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 ...
1 vote
1 answer
28 views

How can I map hotstrings :*?C:iiq::1 and :*?C:iq::2 at the same time? There shouldn't be any ambiguity since there is no conflict until the full string is typed, but I can't find a way to specify. ...
1 vote
2 answers
12k views

I want to change the use of Ctrl to Spacebar for three commands in a game but not for everything because then I can't use Spacebar to communicate. The normal commands are Ctrl+Q, Ctrl+W, Ctrl+E, Ctrl+...
3 votes
1 answer
74 views

I use Autohotkey to launch Git Gui and gitk and tile them side by side: :*:gth:: { GitToolsHere(A_Clipboard) } GitToolsHere(path) { GitGuiHere(path) GitkHere(path) } ; Open GitGUI at ...
0 votes
2 answers
66 views

i have a Hotkeyscript for german umlaute. This Script has been working for years, since this morning it doesn't. i use ALt and ALT SHIFT combinations with several letters and now the windows shortcuts ...
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, ...
27 votes
10 answers
14k views

Window Store apps are not like the classic Windows apps. The latter usually are installed at clear paths under C:\Program Files. So, AutoHotKey (AHK) scripts can simply run a classic app by "Run" with ...
0 votes
1 answer
224 views

I try to send Strg+Win+Numpad3 to OBS Studio to pause recording via an Autohotkey script. My current approach is the following one because I want to avoid that other applications react on this ...
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 ...
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 ...
2 votes
1 answer
615 views

I have this neat little bookmarklet that refreshes the stylesheet on whatever webpage you are looking at without reloading the page: javascript:(function(){var h,a,f;a=document.getElementsByTagName('...
23 votes
6 answers
41k views

I wrote this short test code, but it didn't work. What am I doing wrong? F12:: WinGetTitle, Title, A; MsgBox, "%Title%" The displayed result was ""
5 votes
2 answers
12k views

I need to make the active window always on top. How can I do this with AutoHotkey v2?
1 vote
3 answers
105 views

I wanted to add volume control to my mouse with the following scripts #WheelUp:: Send {Volume_Up} Return #WheelDown:: Send {Volume_Down} Return However, when I use it, the start menu keeps appearing/...
0 votes
2 answers
70 views

Here's what Window Spy looks like, after i manually hit Alt+n: Here's my script. #IfWinActive <Redacted title> ;Private info so don't want to post, but it works ^j:: Send, !n WinGetActiveTitle,...
11 votes
5 answers
14k views

I'm trying to read Windows CMD's stdout with AutoHotkey. For example, I'd like to have the output of the setconsole command inside AHK stored in a variable. I already achieved it a while ago, which ...
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, ...
0 votes
1 answer
103 views

Goal I'm trying to build a minimal working system where pressing a key in AutoHotkey (AHK) sends a message to a Chrome Extension, via a Python native messaging host. The architecture is: AHK → Named ...
2 votes
5 answers
580 views

I'm having problem using the Navigate Shell command when the path include an # sign. ; this will create 2 folders at the root of your C: drive myPath1 := "C:\delete_me\" myPath2 := "C:\delete#me\" if ...
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 ...
3 votes
3 answers
3k views

The wonderful AutoHotKey allows you to auto-expand abbreviations as you type them. So you could have an .ahk script with many abbreviations like this: ::btw::by the way ::iirc::if I remember ...
0 votes
2 answers
755 views

I want to open a folder in Visual Studio Code when I press a button. Can I bind this with AutoHotkey v1?
0 votes
1 answer
80 views

I am using the following AutoHotKey script on the CTRL-ALT-D keyboard shortcut. ^!d:: FormatTime, CurrentDateTime,, ddd dd MMM yyyy @HH:mm SendInput, %CurrentDateTime% return This one ...
6 votes
5 answers
13k views

I want to be able to run a following PowerShell command through AutoHotKey script: new-item -path c:\ -name logfiles -itemtype directory I am unable to find a way to achieve this task. Please help.
0 votes
1 answer
421 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 ...

1
2 3 4 5
95