HP Dx9000 Resources for Developing Touch-Friendly Applications for HP Business - Page 34

Action, ActionValue

Page 34 highlights

Attribute Action ActionValue Valid Value range of 200-4000 LaunchExecutable, MuteVolume, IncreaseVolume, DecreaseVolume, IncreaseDisplayBrightness, DecreaseDisplayBrightness or ToggleDisplayOnOff The full command line to launch an executable Note button to repeat the simulation of a button click if the button is pressed and held for a moment of time. The whole button element is ignored if AutoRepeatInterval value is outside of the valid range. If Action="LaunchExecutable", ActionValue must be specified to a full command line with the full file path name to an executable and necessary parameters. You need to use XML escape sequences for the following characters: Character Escape Sequence quote (") " apostrophe (') ' ampersand (&) & less than () > For example, if the command line is "C:\Program Files\Internet Explorer\iexplore.exe" http://www.google.com/search?h l=en&q=hewlettpackard+company&aq=f&oq=&aq i=g10 You then need to put in the configuration XML file: ActionValue=""C:\Program Files\Internet Explorer\iexplore.exe" http://www.google.com/search?h l=en&q=hewlett+packard+co mpany&aq=0&oq=hewl ett+packard+com&aqi=g10" In this example, ampersands and double quotes have been escaped. 34

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37

34
Attribute
Valid Value
Note
range of 200-4000
button to repeat the simulation of a
button click if the button is pressed
and held for a moment of time. The
whole button element is ignored if
AutoRepeatInterval
value is outside
of the valid range.
Action
LaunchExecutable
,
MuteVolume
,
IncreaseVolume
,
DecreaseVolume
,
IncreaseDisplayBrightness
,
DecreaseDisplayBrightness
or
ToggleDisplayOnOff
ActionValue
The full command line to
launch an executable
If Action=
”LaunchExecutable”,
ActionValue must be specified to a
full command line with the full file
path name to an executable and
necessary parameters. You need to
use XML escape sequences for the
following characters:
Character
Escape Sequenc
quote (")
"
apostrophe (')
'
ampersand (&)
&
less than (<)
&lt;
greater than (>)
&gt;
For example, if the command line
is
"C:\Program Files\Internet
Explorer\iexplore.exe"
l=en&q=hewlett-
packard+company&aq=f&oq=&aq
i=g10
You then need to put in the
configuration XML file:
ActionValue="
&quot;
C:\Program
Files\Internet
Explorer\iexplore.exe
&quot;
l=en
&amp;
q=hewlett+packard+co
mpany
&amp;
aq=0
&amp;
oq=hewl
ett+packard+com
&amp;
aqi=g10"
In this example, ampersands and
double quotes have been escaped.