- Notifications
You must be signed in to change notification settings - Fork3
Small yet mighty AutoHotkey v2 scripts.
License
NotificationsYou must be signed in to change notification settings
mtsknn/AutoHotkey
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
caps_to_esc.ahk
–MapsCapsLock toEsc.discord_minimizer.ahk
–Minimizes Discord to the system trayinstead of quitting itwhen pressingAlt +F4.pop-up_calendar.ahk
–Shows a pop-up calendar when pressingWin +C.special_characters.ahk
–Provides hotstrings to easily type special characters.E.g.;copy
→ ©.wide_left_shift.ahk
–Maps the extra keybetween theLeft Shift andZ keystoLeft Shifton ISO keyboards.
- Download and installAutoHotkey v2.
- The scripts are developed for v2.0-beta.1.Newer versions might also worksince the scripts are very simple.
- Currently there's no installer for v2, only a zip file.Extract the zip file e.g. to
%programfiles%/AutoHotkey_2.0-beta.1/
.
- Download the scripts that fancy youor clone the whole repo:
git clone https://github.com/mtsknn/AutoHotkey.git
- Run the scripts that fancy you by opening them.
- When opening an
.ahk
file for the first time,Windows should ask youwhat program to use to open the file.Select "Always use this app to open .ahk files"and chooseAutoHotkey64.exe
from AutoHotkey's installation folder. - If Windows doesn't ask you,or if you later want to change the default program to open
.ahk
files:- Right click on an
.ahk
file and select "Properties." - Change the program in the "Opens with" section.
- Right click on an
- When opening an
Bonus points if you modify the scripts to your liking!
Create shortcuts for the scriptsand place the shortcuts to%appdata%/Microsoft/Windows/Start Menu/Programs/Startup
.
- To open the
Startup
folder:- Open the Run dialog by pressingWin +R.
- Type
shell:startup
to the Run window and pressEnter.
- To create a shortcut:
- Drag and drop an
.ahk
file to theStartup
folderwhile holdingAlt. - Or right click on an
.ahk
file and select "Create shortcut,"and then move the shortcut to theStartup
folder.
- Drag and drop an
The#SingleInstance
directiveis used in every script.It allows only a single instance of a script to be running,so that running a script that is already runningmakes the new instance replace the old instance automatically.
Because it's so much better.More details coming some day.
These apps provide functionalitythat I would want to create with AutoHotkeyif these apps didn't exist.
In order of importance:
- TouchCursorprovides Vim-like keyboard shortcuts anywhere in Windows.
- Examples:
- Space +H /J /K /L= arrow keys.
- Space +I=Backspace.
- Space +W=Ctrl +Backspace= delete previous word.
- Examples:
- T-Clockallows customizing the taskbar clock.
- T-Clock sometimes has problems with DPI scaling.I once tried to recreate the functionality using AutoHotkey,but found it too difficult,so I continue using T-Clock.
- Since Windows 11,"apps can no longer customize areas of the Taskbar." 😟
- KeyMouseprovides Vimium-like keyboard shortcuts in any app (e.g. Windows Explorer).
- Vimium (a Firefox extension)andVimium (a Chrome extension)provide Vim-like keyboard shortcuts in the browser.
- Alternatives to KeyMouse (not as good in my opinion):
- hunt-n-peck
- LabelControl(AutoHotkey v1 script!)
MIT ©Matias Kinnunen
About
Small yet mighty AutoHotkey v2 scripts.