fttx / barcode-to-pc-app

Barcode to PC app
https://barcodetopc.com/
GNU General Public License v3.0
176 stars 63 forks source link

"Discard adjacent" option not working when template has 2 barcode components #311

Closed eballetbaz closed 1 year ago

eballetbaz commented 1 year ago

I have an output template that contains two barcode components in order to collect two barcodes, then the two barcodes are sent using the HTTP component.

When option "Discard adjacent" is enabled, I expect that when scanning the same barcode twice, then the second one is ignored. This is not the case. When scanning the barcode twice then each one of the two barcode components contains the same value

Tested with last version: 4.6.2 on Android and IOS

fttx commented 1 year ago

I see what the issue is. However, I believe this time it's a specific requirement of yours. To implement what you've described, you can use a custom output template. I've attached an example for your reference, and this time you need to set the option to Always accept.

Please let me know if it works

Duplicated.btpt.zip

eballetbaz commented 1 year ago

Many thanks This is a nice workaround