I am trying to make a GUI on the screen that presses a key when they type it in the textbox. I just don't know how to force a key press. More info: A GUI with a textbox (text input) on the screen that you can type a key in. Once they type the key in and press enter, it presses the key as if it was on a pc keyboard.

2 comments

0

You can't really force a key press, seeming as a key press is done by a user - as such its their choice if they press the key. What you can do however is: Act like they have pressed it, without pressing it. This is simply done by calling the function / action itself.

0

how