Commands & Syntax > Commands > Macro Flow Control >

www.perfectkeyboard.com

 

Error message ENABLED - < me_error_display > ... [Pro]

 

Error message ENABLED
<me_error_display>
Available in: Professional edition

This command causes that if a command during macro execution fails then error message is shown and macro execution is optionaly stopped. This is default behavior

 

 

Example (Macro Steps):

 

1

<#> <#> This macro shows how to use 'me_error_display'

2

Macro execution: ONLY COMMANDS

3

Error message ENABLED

4

<#> <#> Try to get file size of non-existing file. Error

5

<#> <#> occurs and error message is displayed

6

File INFO : save "Size" information of file "c:\notexistingfile.none" to variable "v1"

Example (Plain Text):

 

<#> This macro shows how to use 'me_error_display'

<#>

<cmds>

<me_error_display>

<#> Try to get file size of non-existing file. Error

<#> occurs and error message is displayed

<fileinfo>("c:\notexistingfile.none","SIZE","v1")