beautypg.com

AMX Mio Modero R-4 User Manual

Page 53

background image

Programming the Mio R-4

45

Mio Modero R-4

Page Commands (Cont.)

@PPT

Set a popup page
to timeout within a
specified time

Set a specific popup page to timeout within a specified time. Timeout is in 1/10 seconds. If
timeout is empty, popup page will clear the timeout.

Syntax:

SEND_COMMAND ,"'@PPT-;'"

Variables:

• popup page name = 1 - 50 ASCII characters. Name of the popup page.

• timeout = timeout duration in 1/10ths of a second.

Example:

SEND_COMMAND Device,"'@PPT-Popup1;30'"

Sets the popup page 'Popup1' to timeout within 3 seconds.

@PPX

Close all popups
on all pages

Close all popups on all pages. This command works in the same way as the 'Clear All'
command in TPDesign4.

Syntax:

SEND_COMMAND ,"'@PPX'"

Example:

SEND_COMMAND Panel,"'@PPX'"

Close all popups on all pages.

@PSE

Set the show
effect for a popup
page

Set the show effect for the specified popup page to the named show effect.

Syntax:

SEND_COMMAND ,"'@PSE-;'"

Variables:

• popup page name = 1 - 50 ASCII characters. Name of the page the popup is displayed

On.

• show effect name = Refers to the popup effect name being used.

Example:

SEND_COMMAND Device,"'@PSE-Popup1;Slide from Left'"

Sets the Popup1 show effect name to 'Slide from Left'.

@PSP

Set the show
effect position

Set the show effect position. Only 1 coordinate is ever needed for an effect, however the
command will specify both. This command sets the location at which the effect will begin
at.

Syntax:

SEND_COMMAND ,"'@PSP-;,

coordinate>'"

Variable:

• popup page name = 1 - 50 ASCII characters. Name of the page the popup is displayed

On.

Example:

SEND_COMMAND Device,"'@PSP-Popup1;100,0'"

Sets the Popup1 show effect x-coordinate value to 100 and the y-coordinate value to 0.

@PST

Set the show
effect time for a
popup page

Set the show effect time for the specified popup page.

Syntax:

SEND_COMMAND ,"'@PST-;'"

Variables:

• popup page name = 1 - 50 ASCII characters. Name of the page the popup is displayed

On.

• show effect time = Given in 1/10ths of a second.

Example:

SEND_COMMAND Device,"'@PST-Popup1;50'"

Sets the Popup1 show effect time to 5 seconds.