Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

NOTE: Prior to Profound UI version 6, fix pack 8.0 the pui.onPCCommand function would only work with STRPCCMD from a Genie session. Starting with fix pack 8.0, the runPCCommand() API is also supported.  Also, fix pack 8.0 added the second parameter, which will be true if the user specified pause(*YES) or false otherwise.

Example:


Code Block
languagejavascript
pui.onPCCommand = function(command, pause) {

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

}

...