<RetVar> = Returns the internal ID of the assigned hotkey.
<Var/String> = Select a unique name for your hotkey and enter it here as a variable containing a string or directly as a string. This is also the name that will show in the controls menu under 'Interface'.
<Var/String> = The name of the script to be called entered as a 'string' or a variable containing a string.
<RetVar> Returns the internal ID of the assigned hotkey.
It is what you need to uninstall the hotkey later and has no other use.
Save this value in a global variable/array so you can use it in your uninstall script.
This command is normally used in a setup script.
$my.script.hotkey = register hotkey 'My Script Hotkey' to call script name 'plugin.my.script'
Functionally identical to.
<RetVar> = register hotkey <Var/String> to call script <Script Name>
- »» General Commands
<RetVar> = register hotkey <Var/String> to call script name <Var/String>