Created
October 26, 2015
Updated
March 13, 2021
- 1. Requirements
- 2. Define a sequence
- 3. Download
Knock server port with knock from LaunchBar
Install and launch Knock.lbaction
and edit KnockList.json
located in ~/Library/Application Support/LaunchBar/Action Support/com.inspira.knock/
Tip: Press [ALT] key when you click on the action will display additional informations
Requirements
Knock app in /usr/local/bin
Define a sequence
- title: LaunchBar menu title
- subtitle: LaunchBar menu subtitle
- server_ip: Server name or IP address
- sequence: comma separated list
- delay: delay in milliseconds between knock
- app: name of the app to launch
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
| [ { "title": "Raspberry", "server_ip": "192.168.0.50", "children": [ { "title": "My knock command", "sequence": "5000:tcp,7000:tcp,6000:tcp", "delay": 300, "app":"MyAppToLaunch" }, { "title": "...", "sequence": "..." } ] } ]
|
or a sequence at root :
1 2 3 4 5 6 7 8 9
| [ { "title": "My knock command", "server_ip": "192.168.0.50", "sequence": "5000:tcp,7000:tcp,6000:tcp", "delay": 300, "app":"MyAppToLaunch" } ]
|
Download
Knock Action: Knock.lbaction