Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alburthoffman/autohotkey.misc
all useful codes
https://github.com/alburthoffman/autohotkey.misc
Last synced: 16 days ago
JSON representation
all useful codes
- Host: GitHub
- URL: https://github.com/alburthoffman/autohotkey.misc
- Owner: alburthoffman
- Created: 2017-10-19T06:00:32.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-01-20T12:14:51.000Z (almost 7 years ago)
- Last Synced: 2024-08-01T05:15:52.488Z (3 months ago)
- Language: AutoHotkey
- Size: 3.91 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# autohotkey.misc
all useful codes## HotKeyWithPrefix.ahk
A framework to allow defining hotkeys with prefix.### HotKeyWithPrefix
define two combine keys. one is prefix, second one is trigger key.#### example
```
runApplication(path) {
Run %path%
}hkwp.register("Capslock & y", "!a", Func("runApplication").Bind("https://www.google.com/"))
```### PrefixPlusSingleKey.ahk
define one prefix key with one single key.#### example
```
ppsk := new PrefixPlusSingleKey()
ppsk.on("Capslock & q")
ppsk.add("n", "running commands", Func("runCmd").bind("tasklist"))
```