App - AMX Modero G5 Instruction Manual

X series g5 touch panels
Hide thumbs Also See for Modero G5:
Table of Contents

Advertisement

Programming - Send Commands
App Send Commands (Cont.)

^APP

106
The browser may be launched with a specific URI via the ^APP send command.
To accommodate the URI parameter as well as other potential future parameters, a
generic parameter list can be added to the end of an ^APP command which
launches a specific app (the parameter list cannot be added to the generic ^APP
command that launches the app selection dialog box, or any ^APP command that
specifies the "close" or "close_all" action).
The generic list of parameters takes the form of parameter triplets: name, type,
value, separated by commas:
^APP-left,top[,<width>,<height>
[,<window type>]],<AppName>[,<parmList>]
Launch <AppName> at position left,top with optional height x width, optional
window type, and optional app-specific parameter list.
Default height = 320, default width = 240. Default window type is 0.
Window types are:
0 - Floating, resizable, movable
1 - Floating, fixed size, movable
2 - Floating, fixed size, non-movable
3 - Docked left
4 - Docked right
5 - Docked top
6 - Docked bottom
parmList is a comma-separated list of parameter triplets as follows:
<parm1name>,<parm1type>,<parm1value>,...,<parmNname>,<parmNtype>,
<parmNvalue>
where:
name = parameter Name (e.g. "URI")
type = parameter Type (e.g. "String") - not case sensitive
value = parameter Value (e.g. http://www.amx.com)
Note that name, type and value are separated by a single comma. If there are
additional parameters, a single comma should separate the previous parameter's
value and the next parameter's name.
Since comma is used to delimit the parameter fields, any comma appearing in
the value of the element must be escaped with a backslash ('\').
If a backslash itself appears in any element, it too must be escaped with another
backslash.
To access a file on an attached USB drive, the URI must be:
file:///udisk/path_to_file.
Note: there are three (3) forward slashes after the file: and you must specify
udisk to point to the USB disk.
Syntax:
^APP-<action>,<AppName>[,<parmList>]
Performs <action> on AppName where action is:
show - show an app, launch if not visible
close - close a running app
close_all - close all running apps
If action=show, the optional parmList is a comma-separated list of parameter
triplets as follows:
<parm1name>,<parm1type>,<parm1value>,...,<parmNname>,<parmNtype>,
<parmNvalue>
where:
name = parameter Name (e.g. "URI")
type = parameter Type (e.g. "String") - not case sensitive
value = parameter Value (e.g. http://www.amx.com)
Modero G5 Touch Panels - Configuration and Programming

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents