Commands & Syntax > Commands > User Interaction >

www.perfectkeyboard.com

 

Message CLOSE - < msgoff > ... [Free]

 

Message CLOSE
<msgoff>
Available in: Free edition

This command closes message window that was previously opened with no buttons to show. If the message window command is called subsequently before it is closed by "msgoff" then the message content is updated and message box window is resized (if necessary).

 

 

Example (Macro Steps):

 

1

<#> <#> This macro will display message window and closes it after 5 seconds

2

Macro execution: ONLY COMMANDS

3

Message SHOW "" : "Wait for 5 seconds..." (other parameters: x = -100, y = -100, Window title = Message, Buttons = None, Timeout (seconds) = , Always on top = ).

4

WAIT wait "5000" ms (time is constant: "")

5

Message CLOSE

Example (Plain Text):

 

<#> This macro will display message window and closes it after 5 seconds

<#>

<cmds>

<msg>(-100,-100,"Wait for 5 seconds...","Message",0)

<wx>(5000)

<msgoff>