Dave James Miller

Developer. Computer Geek. INTJ.

Month

February 2011

Detect Cygwin in a shell script

Every now and then you need to work out if a script is running in Cygwin… Read More

The Woman in Black

Run a program with a keyboard shortcut with AutoHotKey

This is a simple and rather generic example of an AutoHotkey script to run a program when you press a keyboard shortcut. Add as many of these as you want to a .ahk file, and set that to be run at startup. Read More

Turn monitor off with a keyboard shortcut with AutoHotKey

This is part of my AutoHotkey script that turns off my monitor when I press Win+\. It also turns the screensaver on at the same time, so that Windows Live Messenger (and any other programs) know I am away. Read More

Sleep/suspend/hibernate computer with a keyboard shortcut using AutoHotKey

This is part of my AutoHotkey script that puts my computer to sleep when I press Win+F12. Read More

Paste the current date into any program using AutoHotKey

This is part of my AutoHotkey script that pastes the current date into any program when I press Ctrl+Alt+Shift+D. Read More

© 2017 Dave James Miller — Powered by WordPress

Theme by Anders NorenUp ↑