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?
pui.onPCCommand function (Genie)
-
- Profound User
- Posts: 30
- Joined: Tue Apr 17, 2012 4:37 pm
- First Name: Stuart
- Last Name: Leonard
- Company Name: Summit Holdings
- Phone: 813-665-6060
- Address 1: 2310 Commerce Point Drive
- City: Lakeland
- State / Province: Florida
- Zip / Postal Code: 33594
- Country: United States
- Contact:
- Brian
- Profound Logic Staff Member
- Posts: 286
- Joined: Thu Apr 14, 2011 10:23 am
- First Name: Brian
- Last Name: May
- Company Name: Profound Logic Software
- Contact:
Re: pui.onPCCommand function (Genie)
Worked this out with Stuart via email.
Who is online
Users browsing this forum: No registered users and 3 guests