Newbies Nordis Posted August 7, 2001 Newbies Posted August 7, 2001 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 ]
LiveOak Posted August 7, 2001 Posted August 7, 2001 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
Newbies mrchipster Posted August 7, 2001 Newbies Posted August 7, 2001 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.
Newbies Nordis Posted August 7, 2001 Author Newbies Posted August 7, 2001 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!)
Newbies Nordis Posted August 7, 2001 Author Newbies Posted August 7, 2001 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!
LiveOak Posted August 8, 2001 Posted August 8, 2001 That's a great idea! Now to find the character that will generate "command" when scanned... -bd
rogermax Posted August 9, 2001 Posted August 9, 2001 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
Newbies Nordis Posted August 9, 2001 Author Newbies Posted August 9, 2001 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...
Recommended Posts
This topic is 8512 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now