ISKernel:Bind (Command)
Jump to navigation
Jump to search
Contents
Syntax
Bind | |
Usage | Intermediate |
Level of Understanding | Beginner |
Computer Savvy | Beginner |
Logic | Beginner |
bind -keylist|-list|-clear|-delete <name> | [-press|-release] <name> <combo> <command>
Description
Using bind you can attach a command to a specific key combination.
Examples
- bind StopAll CTRL+X EndScript *
- This will bind run the EndScript command with the parameter *, which stops all running scripts, when you hold down CTRL and press the X key.
- bind ChangeVariable "home" "MyVar:Set[!${MyVar}];echo ${MyVar}"
- To use multiple commands seperate them with a ; Do not put a space after the ;