how do I code to send text to an active game window. I am using buttons to make a player's menu to ease in game playing.
What I would like to do is have a button named "Buy" and when I press it, it sends the text "buy" and <enter> to the game window.
P.S.
I am completely new at this and looking for something better or different.
What I would like to do is have a button named "Buy" and when I press it, it sends the text "buy" and <enter> to the game window.
P.S.
I am completely new at this and looking for something better or different.