Skip to content

Collection of Autohotkey scripts to make daily life in Windows less dull

License

Notifications You must be signed in to change notification settings

itenium-be/Mi-Ke

Folders and files

NameName
Last commit message
Last commit date

Latest commit

19eed0d · Nov 21, 2020
Nov 10, 2020
Jun 23, 2019
Oct 28, 2019
Sep 3, 2019
Nov 21, 2020
Dec 29, 2018
Sep 3, 2019
Apr 28, 2018
Jun 21, 2019
Oct 6, 2018
Dec 28, 2018
Oct 7, 2018
Dec 29, 2018
Jan 5, 2020
Jun 21, 2019
Jun 21, 2019
Jun 23, 2019
Jun 21, 2019
Dec 29, 2018

Repository files navigation

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.

  • Hotstrings to reduce amount of typing (atm -> at the moment)
  • Shortcuts to start programs (win+o -> open solitaire.exe)
  • Enhancements to programs (cmd, windows explorer, ...)
  • Random scripts to do something I often do (did?) manually
  • Dev tooling (encode/decode, prettify/uglify, convert, ...)

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

  • Are in spec
  • Need to end in -tests.ahk

Run tests:

.\tests.ps1

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

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