ByName(name:Str):Keymap
 ByName(name:Str):Hook

Commands that operate on keymaps and hooks take the keymap or hook name as an identifier. That is, RunHook X will run the hook named "X", even if X is a variable.

If you wish to fetch the hook/keymap name from a variable or expression, you can write ByName(expression), where the expression produces the actual name.

Note: ByName() can only be used at places where keymap or hook names are required, nowhere else.

Since: PCC2 2.0.8

See also: Elementary Functions

This is a testing version.
It may be incomplete, and have more bugs (or features) than the public live version at planetscentral.com.