August 7, 200124 yr Newbies I have a problem, I have a scanner to read barcodes... The problem is that I'm not near the computer when I scan the barcodes... so is there any way to run a script when a field changes ? 'Cause I often scan about 5-6 diffrent things and wanna save in separate places... Is there any free plugin that can execute a script when I change or exit a field ? Or do anyone have any other good solution ? [ August 07, 2001: Message edited by: Nordis ]
August 7, 200124 yr Yup. A lot of scanners allow you to attach a preable and postsript to what is scanned. The trick is to program the scanner to append a "command-1" or "command-2", etc. to the end of the scanned value. This can be used to trigger the first nine scripts in the ScriptMaker menu (must be checked to display). The neat way to do this is to use one script, say "Command-1", and have the script test Status(CurrentLayout) and/or Status(CurrentFieldName) to branch to the correct operation. This way a one-time programming of the scanner can become context sensitive to the layout and field you are dealing with. Most often the scanner is programmed by scanning barcodes in the manual that came with it. -bd
August 7, 200124 yr Newbies If your Scanner does not allow for Pre or Post code to be generated you could carry with you a Barcode on a clipboard that generates the CMD-1, CMD-2 etc. and you can scan the proper code as needed.
August 7, 200124 yr Author Newbies Great ideas, thanx...! But one problem though, how do I generate a barcode that is ctrl-1... ? I have read the manual for the scanner carefully but haven't found anything about commands like that... The scanner is by the way a Intermec 1802SR... I'm really glad you're trying to help me on this one! (Sorry for my bad english by the way!)
August 7, 200124 yr Author Newbies Yeah, finally I have got everything to work! =) I have done so that after everything I scan the scanner sends command ctrl+1 so that script one will execute! Thanx again for all help!
August 8, 200124 yr That's a great idea! Now to find the character that will generate "command" when scanned... -bd
August 9, 200124 yr I have tried for some time to generate a barcode that would trigger ctrl-1 etc. What did you do to get it to work? I am using code39 and a wasp ccd scanner
August 9, 200124 yr Author Newbies Well, my scanner included a cd with a software called easyset... but I think it only works for intermec scanners though.. =( So now when I scan it always trigger ctrl+1 directly after the barcode.. I still haven't found out a way to generate a barcode that only triggers ctrl+1 when I scan it...
Create an account or sign in to comment