AssignMacroToKey
Find the syntax, use, parameters, return values, and an example for the AssignMacroToKey macro command in Connexion client.
| Syntax | BOOL = CS.AssignMacroToKey (sKeyName, sMacroName, bOverwrite) |
|---|---|
| Use to | Assign a keystroke shortcut to a specified macro. |
| Parameters |
|
| Return values | TRUE if the action is successful, or FALSE if not. |
| Example | Sub Main()
Dim CS As Object CS.AssignMacroToKey “F10”, “ClientMacros.mbk!Test”, True“ |
| What this example does | Assigns the F10 key to run a macro named Test in a macro book named ClientMacros (always has the file extension *.mbk). The key assignment overrides any existing assignment for <F10>. |
