The button boxes appear to your computer as a regular QWERTY keyboard. In almost every case, we program them to output the characters [1 9] (for example, on our 9 button boxes) from left to right.
So if you write your script to work with regular numerical input from a keyboard, the button boxes will also work when they arrive.