TE does not have the ability to start external applications and interact with them. However a script maybe able to do this for you..
I have attached the parameters you will need to enable and disable the keyboard..
ESC b "Enables the keyboard."
ESC c "Disables the keyboard."
me again. I implemeted the script as you can see in my former message. And, because of the "Ask_OK(...)" I can see that the scipt is running. I pmlemented the Escape sequence like this: Escape_Sequence("%c") but the keyboard isn't blocked.
May be the keyboard blocking escape sequenze for a MC9190 (WLTE 7.0.94) is different.
Can you please give me some hints how to disable the keyboard?
It could be that the version of TE cant handle the escape sequence however I do doubt that.. a case should be submitted with support to have this tested on our end..
I solved the problem using an external tool to dis- en-able the keyboard. Here is the script to enable / disable the keyboard, depending the read barcode.
Script( Keybord0nOff )
String( sScan )
String( sResultOff )
String( sResultOn )
Boolean( nResult )
Boolean( ResultOff )
Boolean( ResultOn )
Number( nScan )
Activate( On_Input, sScan, nScan )
ResultOff = String_Equal( "KeybOff", sScan, 0, FALSE )
ResultOn = String_Equal( "KeybOn", sScan, 0, FALSE )
If( ResultOff )
Run_Application( "\\Application\\KeybEnDis.exe", "false", FALSE )
If( ResultOn )
Run_Application( "\\Application\\KeybEnDis.exe", "true", FALSE )
Scan_String( sScan, 3 )