June 6, 201312 yr I'm trying to figure out some keyboard combo to take the user to the global field to receive the data to be inputted from a barcode scanner. What I'm trying to do now is enable a batch scan process, instead of doing just one at a time. I read somewhere else of someone using Shift-CapsLock on a keyboard to launch a trigger to go to the global field, I just can't get my head around the differences of the Get functions; TriggerModifierKeys, TriggerKeystroke and ActiveModifierKeys. I just want the user to be able to click a keystroke(s) on the keyboard and then start scanning the items in and when they are done that, they then click on the keyboard enter button and the work is done for them. Does anyone have an example of script like this? I would like to set this up for the shipping / receiving department, so that when shipments come in they can scan the PO or multiple PO's and have the script locate each PO in the database and auto enter the date received field with the current date and who received it.
June 6, 201312 yr Why not just include the script to display in the menu? You can then just use the native shortcut of Ctrl -1, Ctrl - 2, etc. You can use a script trigger on the layout or a custom menu shortcut as well if you didn't want to use the native script shortcut, but in your case I think it may make sense if you did.
June 6, 201312 yr Author I'm not displaying menus in this particular system. So, I need some trigger. I did have a onlayoutload script trigger go to that field, but I wanted to make it more automated for the users.
Create an account or sign in to comment