H A R B I N G E R
An AHK script that provides some quality of life shortcuts.
Current Version: 1.5
Authored Date: 15-10-2017
Last Update: 12-10-2021
Releases
- Download AutoHotkey
- Download Harbinger
- Double click "harbinger.ahk"
- Open Task Scheduler by pressing
Windows Key + R
, typingcontrol schedtasks
, and pressingEnter
. - Click
Create Task
in the right sidebar. - Name it anything you want
- Check
Run whether user is logged on or not
- Check
Run with highest privileges
- Click the dropdown called
Configure for
and selectWindows 10
- Click the
Triggers
tab at the top - Click
New...
- Add triggers for whenever you want the script to run. Mine are:
- At log on
- On workstation unlock
- On all triggers, make sure
Enabled
is CHECKED. - Click the
Actions
tab at the top - Make sure the dropdown says
Start a program
- Click
Browse...
and browse to harbinger.ahk, clickOpen
andOK
- Click the
Conditions
tab at the top - UNCHECK
Start the task only if the computer is on AC power
- Click the
Settings
tab at the top - UNCHECK
Stop the task if it runs longer than
- At the bottom in the dropdown you can either select:
Do not start a new instance
orStop the existing instance
- Open harbinger.ahk with your favourite editor
- Replace the "USERNAME" variable in the CONFIG part of the .ahk script.
Command | Result |
---|---|
Utility | |
~da | Insert current date DD-MM-YYYY |
~df | Insert current date (fancy) DD MMMM YYYY |
~dz | Insert current datetime stamp, YYYY-MM-DD HH:MM:SS |
~tt | Insert current 24hr time to second HH:MM:SS |
~tr | Insert current 24hr time to minute HH:MM |
~dt | Insert current datetime DD-MM-YYYY HH:MM:SS |
~dft | Insert current datetime (fancy) DD MMMM YYYY HH:MM:SS |
Development | Change "USERNAME" var! |
=todo | Insert TODO comment |
=fixme | Insert FIXME comment |
=hack | Insert HACK comment |
=note | Insert NOTE comment |
Hotkey | Result |
---|---|
Arrow Functions | |
Alt+Left | Home (move cursor to beginning of line) |
Alt+Right | End (move cursot to end of line) |
Alt+Shift+Left | Select+Home (select all text from cursor position to beginning of line) |
Alt+Shift+Right | Select+End (select all text from cursor position to end of line) |
~da: 30-12-2018 / dd-mm-yyyy
~df: 30 December 2018 / dd-Month-yyyy
~dz: 2018-12-30 20:16:58 / yyyy-mm-dd hh:mm:ss
~tt: 20:16:58 / hh:mm:ss
~tr: 20:16 / hh:mm
~dt: 30-12-2018 20:16:58 / dd-mm-yyyy hh:mm:ss
~dft: 30 December 2018 20:16:58 / dd Month yyyy hh:mm:ss
// XXXX(USERNAME):