Is there a way to use some automated tool to select a menu choice?
For example, when the main menu comes up, is there a way to programmatically simulate clicking "New game"?
Similarly, if I have an event "Show Choices", is there a programmatic way to select one of the choices? For example, if there is a map event representing an NPC that uses "Show Choices" with a Yes and No option, is there a way to use javascript to select one?
If I could figure out how to do those, I think I could create a relatively simple javascript plugin to start my game, select "New Game" and do a few things in the game to make sure everything is working.
I tried doing some of this with Selenium but didn't get very far since I couldn't figure out how to select an option when there is a menu of choices.
Thanks in advance.
For example, when the main menu comes up, is there a way to programmatically simulate clicking "New game"?
Similarly, if I have an event "Show Choices", is there a programmatic way to select one of the choices? For example, if there is a map event representing an NPC that uses "Show Choices" with a Yes and No option, is there a way to use javascript to select one?
If I could figure out how to do those, I think I could create a relatively simple javascript plugin to start my game, select "New Game" and do a few things in the game to make sure everything is working.
I tried doing some of this with Selenium but didn't get very far since I couldn't figure out how to select an option when there is a menu of choices.
Thanks in advance.