The following code works in my javascript object:
MyObject = new ActiveXObject( "WScript.Shell" ); MyObject.Run("calc.exe");
but
runPCCommand("calc.exe");
does not work.....
The following code works in my javascript object:
window.clipboardData.setData("Text", "hello world");
but
copyToClipboard("Hello world.");
does not work....
It must be something really simple.
runPCCommand & CopyToClipboard Not working
-
- Profound User
- Posts: 52
- Joined: Mon Sep 19, 2011 3:00 pm
- First Name: Bruce
- Last Name: Anthony
- Company Name: The State Bar of California
- Contact:
- David
- Profound Logic Staff Member
- Posts: 690
- Joined: Fri Jan 04, 2008 12:11 pm
- First Name: David
- Last Name: Russo
- Company Name: Profound Logic Software
- Contact:
Re: runPCCommand & CopyToClipboard Not working
Before either of those functions can be called, Profound UI's Java applet (which contains them) must be loaded onto the page.
Do you know if this has been done at the time you call the functions? It will not be loaded in unless you have called loadPCCommandApplet(), see here:
http://www.profoundlogic.com/docs/displ ... callback+)
In Genie, built-in processing will load the applet when a STRPCCMD is run, but other than that, the applet is not automatically loaded in.
Do you know if this has been done at the time you call the functions? It will not be loaded in unless you have called loadPCCommandApplet(), see here:
http://www.profoundlogic.com/docs/displ ... callback+)
In Genie, built-in processing will load the applet when a STRPCCMD is run, but other than that, the applet is not automatically loaded in.
-
- Profound User
- Posts: 52
- Joined: Mon Sep 19, 2011 3:00 pm
- First Name: Bruce
- Last Name: Anthony
- Company Name: The State Bar of California
- Contact:
Re: runPCCommand & CopyToClipboard Not working
That did the trick. The page that has these capabilities was changed.... The onLoad event now contains loadPCCommandApplet();
Thank you!
Thank you!
Who is online
Users browsing this forum: No registered users and 0 guests