Search code examples
c#barcodebarcode-scannerkeyboard-eventsbarcode-printing

Barcodes PageUp and PageDown Keys


In my application I use Page Up and Page Down as navigation keys. Works with powerpoint presentation pointers.

My software also uses barcodes, with a barcode scanner working as an enumerated keyboard. What I am trying to do, is trying to create a barcode, that can be scanned and trigger the same key press as the PageUp and PageDown keys.


Solution

  • As suggested by Shane, I have solved my problem by introducing a character sequence in my software.

    %[CMD_PageUp], %[CMD_PageDown] etc.
    

    I capture the key press event for when these have been entered to then process the same function that pressing PageUp or PageDown would.