This project is a modified version of Public-AutoHotKey-Scripts by Asger Juul Brunshøj. Also check the original readme for more information.
Why use AHK?
Using your keyboard more and your mouse less can improve your productivity since it usually takes you much less time.
Check the following Demo: Instead of
- using your mouse to open FireFox,
- opening a new tab and
- typing
www.google.com
you just press
CAPSLOCK
+SPACE
(to open the GUI) and theng
+SPACE
(to select a Google Search)
(the demo below also shows the ?
command that displays the available options)
There are numerous other features already implemented, ready to use!
Always first start the GUI with CAPSLOCK
+SPACE
and then choose:
- Search dialogues to quickly search across different sites (always press the key and
SPACE
afterwards)a
: Amazond
: DuckDuckGog
: Googlegs
: Google Scholari
: Google Imagesl
: Google I'm feeling luckym
: Google Mapsw
: Weather searchx
: Google in Incognito modey
: YouTube/
: Go to Sub-Reddit
- Translation (additional configuration/changes are possible)
teng
: Translate from German to Englishtger
: Translate from English to German
- Pasting
- strings with
name
,phone
(can configure anything)
- strings with
- Opening of folders and files
down
: opens Downloads folderf
+SPACE
: opens dialog for shortcuts to folders (configuration infolders.csv
)rec
: open recycle binshortcuts
: opens file containing additional application specific shortcuts
- Miscellaneous
date
: prompts today's dateurl
: open browser and load content of clipboard (opens webpage if it is a URL, otherwise opens standard search)week
: prompts the current week?
: overview of available commands
All shortcuts (as the GUI) are triggered by the CAPSLOCK
key.
You can specify hot keys for applications here. For example
CAPSLOCK
+g
: opens the windows file explorerCAPSLOCK
+w
: opens the MS Word- ...
Additional shortcuts are for screen management and other stuff, for example
CAPSLOCK
+1
: Switch to the neighboring desktop on the leftCAPSLOCK
+2
: Switch to the neighboring desktop on the rightCAPSLOCK
+n
: centers the mouse over the active windowCAPSLOCK
+x
: closes the active applicationCAPSLOCK
+c
: copy current active browser tab link in Markdown format to the clipboard (currently only works with FireFox, but can be changed here)- ...
In general, these examples are rather to give you some ideas on what is possible. If you like it, it is probably best to reconfigure those to suit your needs.
If you are new to AHK, check out the following description and short tutorial.
To get it up and running
- install AutoHotKey (AHK) version 1 (not v2 beta) and then
- execute
Host.ahk
(by double clicking)
Afterwards to start using it
- press
CAPSLOCK
+SPACE
to start the GUI and enter?
to get an overview of available commands. - Note: Since
CAPSLOCK
is used as a special key, its standard usage is suppressed, but can be recovered usingALT
+CAPSLOCK
.
If you have any issues, or if you changed some configuration, simply reload the Host.ahk
file by double clicking or using the GUI with CAPSLOCK
+ SPACE
and typing rel
.
In addition, consider pasting a link (.lnk
file) to the Host.ahk
into the Windows auto-start folder (see here for instructions) to automatically load the script on start up.
Without the great original repo, this would not have been possible, since I am not a AHK expert. In the following you find a short overview of my changes.
- very cool GUI that constitutes the heart of the application
- very quick search on several platforms (google, duckduckgo, ...)
- translation between languages
- and more features (paste strings, get week, ...)
I customized the GUI commands to serve my needs, so there are substantial differences between the original version and this one. Information for further customization can be found in GUI.
In addition to that I added:
- shortcuts for programs and screen management
- routines to open or activate (if already open) a program
- screen management shortcuts, such as switching between desktops and moving applications across screens
folders.csv
where you can specify "keyword - folder path" pairs to open specific folders quickly from within the GUI- routine to save the URL of the current active tab of Firefox from any application to clipboard
- a very uncomplete list of common shortcuts within certain applications I use
I hope you find it helpful and please share any errors/improvements that you spot :)
AHK scripts use the following common notation
^
=CRTL
#
=WINDOWS
+
=SHIFT
!
=ALT
Furthermore,
;
is the comment keyword forahk
files- when using conditional statements such as
#If ...
, be aware that they affect the code across files. Use an empty#If
to stop this.
- ahkscript/awesome-AutoHotkey: A curated list of awesome AutoHotkey libraries, library distributions, scripts, tools and resources
- rcmdnk/vim_ahk: Setting file to emulate vim with AutoHotkey
- Forks of the original repo