The Tournament Director Forums

Main => Help Me => Topic started by: Mesnik44 on July 14, 2015, 09:01:14 PM

Title: Barcode or Magnetic stripe entry
Post by: Mesnik44 on July 14, 2015, 09:01:14 PM
So the problem is thus,

When I put my hotkey "%" and code for player "0001" on a barcode or magnetic stripe, the program will flash up the add player screen, then a flash of a search, but nothing happens. Is there a way to slow down the search so the program has enough time to enter the information needed to search and enter the player?
Title: Re: Barcode or Magnetic stripe entry
Post by: Corey Cooper on July 15, 2015, 08:30:56 PM
Is % the hotkey you've configured within the TD to add players?
Title: Re: Barcode or Magnetic stripe entry
Post by: Mesnik44 on July 15, 2015, 09:57:59 PM
Yes % to add players. But then the next screen where it shows your player database closes before the rest of the code can search for a player and buy them in.

I also watched this video:

http://www.youtube.com/embed/owJaWNX7F_w

If you watch the video, there is no keyboard interaction whatsoever.

I read that jodybingo has this working via mag stripe, and was hoping he could comment on this too.
Title: Re: Barcode or Magnetic stripe entry
Post by: Corey Cooper on July 16, 2015, 12:42:45 AM
I think there is some keyboard interaction, but it is only to dismiss the seating dialog.  So essentially you're right, the card is scanned and that causes the player to be bought-in, automatically seated, and a receipt printed.

Directly to your point, the scan should be able to invoke the "Add Players" dialog, select the player, and confirm the add + buy-in.  I personally haven't done this, so I don't know what kind of "tweaks" need to be done in order to make this happen.  It may be that there needs to be a "pause" of some sort between the hotkey that invokes the Add Players dialog (% in your case) and the player ID or name or whatever is being used to search for the player.  The keystrokes most likely are being delivered to whatever window has focus, and if they are delivered too quickly after the %, then they end up being delivered to the Settings window, which ignores them.  They need to be delivered to the Add Players dialog, which may take a moment to open.

The only way to close the Add Players dialog with a keypress is to press the ESC key, or with an Enter or Spacebar keypress while the Cancel button is in focus.  Or, Enter or Spacebar is pressed while the OK button has focus, which it typically does upon open UNLESS the "Find" feature is enabled.  If the Find feature is enabled, then the search field has focus, and Enter or Spacebar won't close the dialog unless the Tab key is pressed enough times to move focus to either the OK or Cancel button.

So maybe re-examine what is being sent via the scanner/bar code reader, and maybe add a pause after the % key is sent.