UW's PowerMacros is a Windows program that empowers the user with various niche macros that do very specific, powerful and magic things. It relies on AutoHotkey.
For now, it contains these 5 macros:
- SudoF4: forcefully close the current window via
Win + F4
, bypassingAlt + F4
hooks (read more here) - ZenMode: mute everything except the focused window and system sounds via
Win + F2
- MaximizeAny: forcefully maximize the current window via
Win + F5
, even if the maximize button is disabled - Unified Enter: remap numpad enter to normal enter
- Universal Advance: when ScrollLock is on, remap Right Arrow to Enter so you can advance text in games via
>
You first need to install Rust and AutoHotkey v2.
Then clone PowerMacros:
git clone https://github.com/UnexomWid/PowerMacros
Just run start.bat
from this repo.
cd <path_to_powermacros_repo>
start.bat
That's it. Keep it running in the background.
PowerMacros relies on AutoHotkey. Simply modify the uwpm.ahk
file to add/remove/edit macros. See the AHK v2 docs if you're not familiar with the syntax.
ZenMode also relies on the Rust program, which is automatically executed via start.bat
.
It won't work if you just use the AHK script separately.
Create the assets/
dir inside the repo folder (near uwpm.ahk
), since that's where the sound files will be stored. Here are the current sounds:
SudoF4.wav
: SudoF4 killed the current windowZen_engage.wav
: ZenMode was engagedZen_disengage.wav
: ZenMode was disengagedMaximizeAny.wav
: MaximizeAny maximized the current windowUniversalAdvance_engage.wav
: UniversalAdvance was engaged (ScrollLock is now ON)UniversalAdvance_disengage.wav
: UniversalAdvance was disengaged (ScrollLock is now OFF)
PowerMacros was created by UnexomWid. It is licensed under MIT OR Apache 2.