I have read the tutorial, and have made a few scripts to help me at work, but I am still a noob.
I want to use a barcode reader to input 'n' barcodes and store them. 'n' varies between 1 and 20. The barcode reader ends a read with a carriage return. Then I want to play back each number in succession, every time I press NumPad 0. Each press enters the next barcode number (not all of the stored numbers at once). Ideally the stored barcode, once played back, would be deleted from memory, to avoid the same number being replayed.
Could somebody help me get started with this please?
Read barcodes read and play back
Started by
Kylie
, Apr 13 2012 12:22 PM
3 replies to this topic
#1
Kylie
Posted 13 April 2012 - 12:22 PM
#2
Guests
Posted 13 April 2012 - 12:44 PM
Search the forum <!-- l --><a class="postlink-local" href="http://www.autohotkey.com/community/search.php?keywords=barcode*&terms=all&author=&sc=1&sf=all&sk=t&sd=d&sr=posts&st=0&ch=300&t=0&submit=Search">search.php?keywords=barcode*&terms=all&author=&sc=1&sf=all&sk=t&sd=d&sr=posts&st=0&ch=300&t=0&submit=Search</a><!-- l -->
and you'll find a number of barcode related scripts that should get you started.
and you'll find a number of barcode related scripts that should get you started.
#3
Kylie
Posted 13 April 2012 - 11:35 PM
Thanks, I had already done the search. The main problem I have is how to store a varying number (1n - 20) of numbers, then playing them back.
#4
Posted 14 April 2012 - 12:03 AM
Maybe this answers your question:
Like this you would have 20 Vars with a difference of two between them.
Loop 20
{
Var%A_index% := 2*A_index
}Like this you would have 20 Vars with a difference of two between them.




