pui.onPCCommand function (Genie)
Posted: Wed May 16, 2012 11:19 am
Hello, I need some clarification on how to implement this command.
The docs for this command are below:
This function can be used to provide alternate user-defined processing for STRPCCMD in Genie. Normally, any commands issued with STRPCCMD are run on the PC through a Java applet built into Genie. If this function is defined on the page, it will be called instead, and the command string will be passed to it.
Example:
pui.onPCCommand =
function(command) {
alert("The command string is: " + command);
}
Is this function embedded in the start.html page, and whenever a call to STRPCCMD is made in the application, this command will be invoked instead? If this requires implementation in the display file, then what modifications need to be made?
The docs for this command are below:
This function can be used to provide alternate user-defined processing for STRPCCMD in Genie. Normally, any commands issued with STRPCCMD are run on the PC through a Java applet built into Genie. If this function is defined on the page, it will be called instead, and the command string will be passed to it.
Example:
pui.onPCCommand =
function(command) {
alert("The command string is: " + command);
}
Is this function embedded in the start.html page, and whenever a call to STRPCCMD is made in the application, this command will be invoked instead? If this requires implementation in the display file, then what modifications need to be made?