Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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"))
```