Scripting: Basic "Enter"

Version 1

    Verified Product Versions

    Wavelink Terminal Emulation 7.3Wavelink Terminal Emulation 7.2Wavelink Terminal Emulation 7.0

    The following script can be used as a template for terminating a scan with an "Enter".

    Useful if enabling the Use Scanner As Keyboard Wedge setting.within the WL TE Client.

     

    This script will provide a Enter/Carriage Return after every scanned bar code.

    This script is triggered by the on barcode event.

    To assign it to a Host Profile edit  Profile( Echo ) by replacing Echo with the desired Host Name.

     

     

    Script( ScanTerm )

     

    Profile( Echo )

    String( sScan )

    Number( nParse )

    Activate( On_Input, sScan, nParse )

     

        Scan_String( sScan, 0 )

        Keypress_Key( "VT220", "Enter" )

     

        Return