Exec.HotKeys
Description
- Suspends or re-activates all or particular hotkeys.
Syntax
- Exec.Hotkeys(keyword[, hotkeys][, id])
Parameters
- keyword
- (string) action to take with hotkeys
-
Possible Values
- "on"
-
- "off"
-
- "reverse"
- toggles hotkeys setting
- hotkeys
- (string) A space-separated list of hotkey names -- only names in this list will be acted on by the Exec.Hotkeys() command.
- Optional, if omitted, all hotkeys are affected.
- id
- (string) written as "<id=xxx>" where "xxx" is the ID name
- Optional.
Examples
- Exec.Hotkeys("on")
- Exec.Hotkeys("off", "screentopright Semi+d")
- Turns off the hotkeys "screentopright" & "Semi+d".
- Exec.Hotkeys("reverse")
- Toggles hotkeys on or off.
Notes
- A hotkey which runs this command will still work when hotkeys are suspended.
- If a hotkey has been disabled via the PowerPro Config dialog, it cannot be re-enabled with this function.
- Hotkey names can be found by exporting the hotkeys to an .ini file with PPConfig > Setup >Export; it is the same as the name which appears for the key in the pproconf.exe tabbed configuration dialog.
- is the last part there (same as the "key") still correct?
- Hotkey names (ID's) can be defined a number of ways, such as in the Target Window field of PowerPro's "hotkey/mouse action" dialog with: ";<id=xxx>" -- including the semicolon & angle brackets, but not the double quotes -- or with .ini configuration files.