Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Preamble / Postamble Scripts

Featured Replies

I finally got the firmware on my hand scanner upgraded to support the "Apple" key.

I have set it up so that there is a postamble of "Command-1" after the scan.

After I scan the barcode, a lookup takes place, and this lookup takes about one second to finish. Problem is that the hand scanner sends the "Command-1" script before the lookup as done... the system beeps at me and never performs the script.

I have also put in place the maximum "Interfunction delay" of 445ms... which isn't enough.

Any suggestions? Has anyone else had these problems with postamble scripts?

  • 2 months later...

Make the first line in your script a Relookup.

When you start using this scanner/script architecture, there are a few things your "Command-1" script needs to do. The first is test a "busy" flag to see if the script is already running (its possible to trigger the script multiple times from multiple scans before the first completes). If not, you set the "busy" flag and proceed.

I would put a "pause" statement in your script to allow the lookup to proceed. More definite advice depends upon what exactly you are doing and the contents of your script.

-bd

  • Author

Make the first line in your script a Relookup.

Ah ha! I think the problem was that the scan consisted of: UPC, TAB, CMD-1

The moment the tab is executed, the system performs the lookup. This takes about a second to perform on a network, during which time the system is busy. The scanner sends the CMD-1 before the system becomes idle so the script never gets activated in the first place.

If I remove the TAB then the system should be ready to accept the CMD-1 immediately.

The only problem I can see is that the "Relookup" step would perform the lookup on all of the records currently being browsed. Do you see any problem with using "Go to field, next" at the beginning of the script? Won't that cause the lookup to be performed?

Thanks for the idea! I had given up on this months ago!

  • Author

More definite advice depends upon what exactly you are doing and the contents of your script.

All the script does is verify that the lookup was successful, then create new record. The database is for rapid inventory count, which can then be imported into the product database for comparison.

You definitely don't want the Tab, perform all your operations using script steps triggered by the postscript "Command-1". A "go to field" should work fine for triggering the lookup.

-bd

Hey, along the same lines... I have a client with a pile of generic scanners. But we don't have any manuals, so I can't program them. Does anyone know where I could download some programming barcodes to print and scan?

The actual issue is that their FileMaker system (created by someone else) used to work on a Mac, but they've put it on a PC and it inserts a carriage return after the scan instead of the Enter key (to continue the script).

Sorry, there is no universal set of programming barcodes. Scanners are not standardized devices. Each scanner manufacture provides varying degrees of programming capability and has their own set of programming codes and procedures. It's like asking for an oil filter for a car, there are a lot of different types.

You will have to go to each scanner manufacturer individually and look for manuals and information.

-bd

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.