itenium-be / Mi-Ke

Collection of Autohotkey scripts to make daily life in Windows less dull
https://itenium.be/Mi-Ke/
MIT License
19 stars 4 forks source link

Mi-Ke

This Mike is not exactly Mycroft Holmes but rather a collection of Autohotkey scripts.

A few fancy ones:

Control+Win+Z: Zips the entire folder, or just the selected files, in Windows Explorer. (windows-explorer-zip-directory)
Control+Win+Alt+D: Minimize all windows on monitor of active Window. Press again to restore. (windows-min-max)
Control+Alt+D: Open Windows Explorer and select last downloaded file (windows-explorer)

What

A script running in the background (tray icon) with little productivity boosters.

See the Github Pages for a listing of all shortcuts and their default bindings.
Or don't: the information on the site is pretty outdated.

Configuration

See resources\init_custom-example.yml for how to configure a custom hotkey.

Install

From source

Requires Autohotkey_L.

PowerShell:

git clone https://github.com/itenium-be/Mi-Ke
cd Mi-Ke

# Start
.\mike.ahk

Personal customization (optional):

# Add some custom config & examples
.\init.ps1

# If you do not want examples run the following instead
.\init.ps1 -bare

Persist

To start Mi-Ke when Windows starts:

Put a mike.ahk.lnk in %APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup.
In the right click contextmenu of the Mi-Ke tray icon there is also an option to do this for you.

More step by step instructions can be found in the official docs FAQ

Mi-Ke doesn't work in Visual Studio

The scripts aren't working only when Visual Studio (or any other app) is running as administrator.
The solution would be to also start Mi-Ke as administrator when you want the scripts to be available in these applications.

More info:
https://stackoverflow.com/questions/1890351/why-is-visual-studio-catching-key-events-before-autohotkey

Known Issues

Binding AppsKey & X (with x any character) breaks AppsKey in Cmder.

Tests

Run tests:

.\tests.ps1

Framework:
https://github.com/itenium-be/Yunit

Docs:
https://github.com/Uberi/Yunit/blob/master/doc/Main.md