Waiting for input from scanner barcode

Discussion created by lolli_group on Nov 22, 2016
Latest reply on Nov 23, 2016 by philmodjunk

I've already setup my barcode scanner to find a code in a single format, of a table.

I use the same global field that I used before when the search was made writing the code by keyboard.


I'd like to have a script that can "listen to" any input from barcode scanner, and in the case of particular code opens a mask or another.

No problem for the script, but how can I add a script in ANY format, and let Filemaker wait for input, even if it does regular operations ?


I can give a CR to the scanner, and I did this to activate the global field to search in a particular format of the database.


Is it possibile to do something like this ?


P.S.: attached you see the field I use now, but to use it I need to open the format and set field for input, of course.