This Mike is not exactly Mycroft Holmes but rather a collection of Autohotkey scripts to make daily life in Windows less dull.
Two fancy ones:
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
Install
From source
Requires Autohotkey_L.
PowerShell:
git clone https://github.com/itenium-be/Mi-Ke
cd Mi-Ke
# Start
.\mike.ahk
Run .\init.ps1
to create some personal customization example files.
The scripts
Diff 2 files in Windows explorer or the selected text elsewhere
Windows Explorer enhancements
Switch views:
Developer tooling
Configuration and implementations.
Paste lorem ipsum:
label: LoremIpsum
hotkey: <^>!l
Uri encoding
Follow by pressing e
, d
or s
to encode, decode or slugify.
Uri encode/decode or slugify selected text:
hotkey: <^>!u
readFrom: selectedText
writeTo: clipboard
followedBy:
- desc: Uri encode
key: e
fn: LC_UriEncode
- desc: Uri decode
key: d
fn: LC_UriDecode
- desc: Slugify
key: s
fn: Slugify
Aside from uri encoding/decoding, there are also dev tools to, for example:
Example: To convert selected text to upper case, use AltGr+C
followed by u
.
After pressing the first hotkey, a menu with the posibilities is shown.
Start programs with hotkeys
Quick starters are defined in config\*.yml
Default behavior can be overwritten in config\_custom.yml
(create it by running init.ps1
)
Some default configurations
Calculator:
hotkey: ^#c
path: <A_WINDIR>\System32\calc.exe
titleMatcher: ahk_class CalcFrame
doublePressCloseHotkey: ~ESC
menu: Applications
Notepad++:
hotkey: "#c"
path:
- C:\Program Files (x86)\Notepad++\Notepad++.exe
- C:\Program Files\Notepad++\Notepad++.exe
# Open file(s) selected in Windows Explorer.
passExplorerPathAsArgument: file
explorerFilesSeparator: \"
# Need to escape the quote there
menu: Editors
PowerShell (Admin):
hotkey: +!#p
titleMatcher: ahk_exe powershell.exe
path: <A_WINDIR>\System32\WindowsPowerShell\v1.0\powershell.exe
menu: Consoles
# When inside Windows Explorer, open in the current path
passExplorerPathAsArgument: dir
openWithPathArgs: <exe> -noexit -command "cd '<path>'"
# RunAs Administrator
asAdmin: 1
PowerShell ISE:
hotkey: !#r
titleMatcher: ahk_exe powershell_ise.exe
path: <A_WINDIR>\System32\WindowsPowerShell\v1.0\powershell_ise.exe
menu: Editors
# When inside Windows Explorer, open the selected files
passExplorerPathAsArgument: file
openWithPathArgs: <exe> -file "<path>"
explorerFilesSeparator: ,
Browsers
change-sound-volume
Change sound volume with ‘funny’ images.
Other resources
Looking for even more productivity boosters?
Look no further!
- ahkscript/awesome-AutoHotkey
- Drugoy/Autohotkey-scripts-.ahk
- denolfe/AutoHotkey
- camerb/AHKs
- cocobelgica/AutoHotkey-Util
- jNizM/AHK_Scripts
- theborg3of5/ahk
Developer tooling
Outside Github:
- Skrommel scripts
- GoneIn60s: Recover closed applications
- IpUpload: Upload current IP address to a FTP server
- NoClose: Disable the Close button (X) of selected windows
- MoveInactiveWin: Move a window without activating it
- WhatColor: Show and copy the RRGGBB color under the cursor
- Jack’s Autohotkey Blog