For developing and incorporating scripts, Capture uses the JavaScript script engine included with the Java Runtime Environment. The scripts also writes out a line (printIn) to the java console for each script event, for verification or debugging purposes.
To view the printIn statements, go to Control Panel. Click Java --> Advanced tab. Under Java Console, set the property as Show Console. Apply and OK.
importClass(java.awt.event.KeyEvent);
function ScriptStart() {
println("ScriptStart");
}
function BatchScanBegin(event) { // BatchScanEvent
println("BatchScanBegin");
}
...
...
...
To view the printIn statements, go to Control Panel. Click Java --> Advanced tab. Under Java Console, set the property as Show Console. Apply and OK.
No comments:
Post a Comment