Quantcast
Channel: Ivanti User Community : Popular Discussions - Supply Chain (formerly Wavelink)
Viewing all articles
Browse latest Browse all 7290

Disable scan function in field only?

$
0
0

How can I disable the scan function on ONE FIELD only on a screen?  How can I include it on my current script?

 

//Let's create a function to process the scan

function onScan(event)

{

           //Well just handle the scan data ourselves instead of letting the default mechanism handle it

           Device.sendKeys(event.data);

           Device.sendKeys("{hex:000D}1{pause:500}{hex:000A}");

 

 

}

 

 

//Register the onScan function to be called when a scan occurs. Without this it will never run.

WLEvent.on("Scan", onScan);

 

 

Please, for the love of all that is good, can someone please help me with this? I am not a programmer...

 

Thanks!

Monica

 


Viewing all articles
Browse latest Browse all 7290


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>