...
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 | ||
---|---|---|
| ||
pui.onPCCommand = function(command, pause) {
alert("The command string is: " + command);
return true;
} |
...