Commands & Syntax > Commands > Macro Flow Control >

www.perfectkeyboard.com

 

PAUSE - < pause > ... [Pro]

 

PAUSE
<pause>
Available in: Professional edition

Stops (pauses) macro execution. User needs to keep Ctrl key down for 0.5 seconds to let the macro to continue.

 

 

Example (Macro Steps):

 

1

<#> <#> This macro shows how to use 'pause' command

2

Macro execution: ONLY COMMANDS

3

Message SHOW "" : "Start Notepad and then press 'Ctrl' key for 0.5 seconds to continue this macro." (other parameters: x = 100, y = 100, Window title = Message, Buttons = None, Timeout (seconds) = , Always on top = ).

4

PAUSE pause macro execution until user hits Enter key

5

Message CLOSE

6

Window ACTIVATE bring "notepad" window to top (other parameters: Match = Partial, Window state = Normal, %p4_name = no)

7

Macro execution: KEYS / FREE TEXT + COMMANDS

8

Dear Mr.

9

Message SHOW "" : "Insert the customer name and then press 'Ctrl' key for 0.5 seconds to continue this macro." (other parameters: x = 100, y = 100, Window title = Message, Buttons = None, Timeout (seconds) = , Always on top = ).

10

PAUSE pause macro execution until user hits Enter key

11

Message CLOSE

12

, \ \ we are writing you this letter because...

Example (Plain Text):

 

<#> This macro shows how to use 'pause' command

<#>

<cmds>

<msg>(100,100,"Start Notepad and then press 'Ctrl' key for 0.5 seconds to continue this macro.","Message",0)

<pause>

<msgoff>

<actwin>("notepad",0,0,"no")

<keys>Dear Mr. <msg>(100,100,"Insert the customer name and then press 'Ctrl' key for 0.5 seconds to continue this macro.","Message",0)<pause><msgoff>,

 

we are writing you this letter because...