Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

This function can be used to provide alternate user-defined processing for the runPCCommand() API or STRPCCMD in Genie. Normally, any commands issued this way run on the PC through the PC Command Listener, PC Command Launcher or PC Integration Java applet. If this function is defined on the page, it will call the function. 

The function can return true to indicate that it has handled the command, or false to indicate that it should be handled by the PC Command Listener, Launcher or Applet.

NOTE: In Profound UI version 6, fix pack 7.0 and earlier versions, the return value was ignored.  If a pui.onPCCommand function was defined, the command would only be processed by the function. For backwards compatibility with this release, any function that does not return a value will be considered to have handled the command. 

Example:


pui.onPCCommand = function(command) {

  alert("The command string is: " + command);
  return true;

}


  • No labels