Version: |
5.0 |
Description: |
Determines whether a script has been assigned to the specified named key. |
Declaration: |
|
C/C++ |
extern "C" vbool WINAPI VCIsScriptAssignedByName(char* szKeyName) |
Delphi |
function VCIsScriptAssignedByName (szKeyName: PAnsiChar): Wordbool; stdcall; |
ActiveX/COM |
Function IsScriptAssignedByName(ByVal szKeyName As String) As Integer |
Parameters: |
szKeyName - the name of the key. |
Return Value: |
0
- no script was assigned to the specified key
|
iError Code: |
None. |
Notes: |
The tool ScriptAssign(AS) allows the user to assign scripts to various keys as a shortcut to running those scripts. VCIsScriptAssignedByName determines whether any script is currently assigned to the specified key. For a reference to which keys are available to use in VCIsScriptAssignedByName, refer to the "Assign to key" dropdown list of the Assign Script dialog. Also, it may be determined if a script is assigned by reference to their key codes, rather than their key names, by using VCIsScriptAssigned. |
See Also: |
VCIsScriptAssigned, VCRunFunkeyCmdByName, VCGetFunkeyCmdStringByName, VCSetFunkeyCmdStringByName, VCMacro |