Commands & Syntax > Commands > Macro Engine >

www.perfectkeyboard.com

 

Macro ENABLE/DISABLE - < me_macroenable >() ... [Pro]

 

Macro ENABLE/DISABLE
<me_macroenable>("Macro",Option,Unused)
Available in: Professional edition

Enables or disables macro.

 

#

Parameter name

Parameter description

1

Macro

Name of the macro to enable/disable. The macro with this name must exist otherwise the command fails.

2

Option

0 - disable
1 - enable

3

Unused

Must be 0.

 

Example (Macro Steps):

 

1

<#> <#> This macro will disable 'TestMacro1' (if it exist)

2

Macro execution: ONLY COMMANDS

3

Macro ENABLE/DISABLE "TestMacro1", Option="Disable"

Example (Plain Text):

 

<#> This macro will disable 'TestMacro1' (if it exist)

<#>

<cmds>

<me_macroenable>("TestMacro1",0,0)