A simple Python tool for accessing favourite pages and programs from anywhere on Windows.
Requires Python 3 installed.
- Copy the files to a folder of your choice.
- Run
python quick_access.py
.
Optionally:
- Create a shortcut on the Desktop.
- Set Target in Properties to
path/to/pythonw.exe path/to/quick_access.py
Note:
pythonw.exe
will open it without command prompt
- Set Shortcut Key, e.g.: Ctrl + Num *
- Done!
Key | Command | Note |
---|---|---|
Shortcut key | Open tool | |
Up Arrow | Select previous autocomplete option | The option selection loops around |
Down Arrow | Select next autocomplete option | The option selection loops around |
Right Arrow | Paste selected autocomplete option | |
Tab | Paste selected autocomplete option | |
Enter | Run tool | Each item will run/open |
Comma | Command separator | Used for separating items |
Space | Argument separator | Used for separating arguments |
Ctrl + s | Save items in config file | Saved items will show under unnamed section |
Ctrl + o | Open config file | Don't forget to save changes |
Escape | Exit tool |
The config file contains the visible items under items
and non-visible items under unnamed
sections.
Saved items will appear under unnamed
section with a rename_me_#
prefix.
- New item:
- Insert a new line in
quick_access.cfg
underitems
with the content:github = https://github.com
- Save file.
- Run tool.
- Now you can open GitHub by typing a substring of
github
in the address bar, pressing Tab and Enter.
- Now you can open GitHub by typing a substring of
- Insert a new line in
- Save item:
- Run tool.
- Type
search_google github
and pressCtrl + s
- Type
- Exit tool by pressing Escape.
- Check
quick_access.cfg
for a new item underunnamed
section with the value:https://google.com/search?q=github
- Rename item and move to
items
section.
- Run tool.
- Multiple items:
- Run tool.
- Type
search_google python,search_youtube macintosh 420
and press Enter.
- Type
- Run tool.