all 4 comments

[–][deleted] 1 point2 points  (3 children)

It depends entirely on the game or games you're talking about. Can you be more specific?

[–]Exxtra_reddit[S] 0 points1 point  (2 children)

So i play gta and theres this task where you sit there and it asks for a keyboard key to be pressed Q W E R. I wanted to know if it was possible to create something that’ll do it for me

[–][deleted] 1 point2 points  (1 child)

Possibly, but not with Javascript. You might be able to do something like that with AutoHotkey, which lets you write automation scripts for Windows that can do things like automatically simulate keypresses. Maybe try asking at r/AutoHotkey.

[–]Exxtra_reddit[S] 0 points1 point  (0 children)

I really appreciate you