Difference between revisions of "ISKernel:Bind (Command)"

From Lavish Software Wiki
Jump to navigation Jump to search
Line 8: Line 8:
 
*bind StopAll CTRL+X [[Command:EndScript|EndScript]] *
 
*bind StopAll CTRL+X [[Command:EndScript|EndScript]] *
 
: This will bind run the [[Command:EndScript|EndScript]] command with the parameter *, which stops all running scripts, when you hold down CTRL and press the X key.
 
: This will bind run the [[Command:EndScript|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 ;
  
 
== See Also ==
 
== See Also ==

Revision as of 00:57, 1 June 2005

Syntax

Command Difficulty Rating
Bind
Usage Intermediate
Level of Understanding Beginner
Computer Savvy Beginner
Logic Beginner

bind -keylist|-list|-delete <name> | [-press|-release] <name> <combo> <command>

Description

Using bind you can attach a command to a specific key combination.

Examples

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 ;

See Also