Copyright © 2025 Murat Kalinyaprak
Shared under the terms of GNU General Public License.

=====================================================

mkdice-pass-file-xg.exe reads dice rolls from a text
file, of dice numbers separated by spaces, and feeds
them to XG as keyboard inputs in manual dice mode.

It can be easily adapted for other bots by changing
the manual dice input dialog window's name and also
sending an "enter" key event after dice numbers, if
needed.

Since keys are sent to the active window, it would
be advised to make sure no other processes can grab
focus while playing. Otherwise, it will still work
but some dice rolls may be skipped without being
sent to XG. That should not hurt the randomness of
dice rolls but may make it impossible to duplicate
the same sequence of plays for whatever reasons.

Unless you want to watch the dice numbers as they
are rolled, the command window may be minimized.