Send key to background window

Ask gaming related questions (AHK v1.1 and older)
DarkSider
Posts: 50
Joined: 29 May 2019, 11:06

Send key to background window

05 Apr 2023, 05:37

Hi,
I found this script which works perfectly with notepad

Code: Select all

settitlematchmode,2
capslock::
controlsend,,a, - Notepad,,,,NA
return
I'm trying to modify it to send key to roblox in background, without activating it.

I checked windows spy, and the name of the window is :

https://ibb.co/Tc6WgYP

I tryed to rename Notepad to other things, but i can't quite make it to send into roblox window. What name should i put ? Thanks.

[Mod edit: Moved topic to AHK v1 help, based on posted code.]
DarkSider
Posts: 50
Joined: 29 May 2019, 11:06

Re: Send key to background window

05 Apr 2023, 06:12

Thanks, that script has the problem he's describing, the key is sent into text input only, it doesn't trigger a game action.
After some digging i saw that
evilC wrote:
20 Mar 2019, 09:38
For the 50th time, no, Roblox does not support receiving input while inactive
Why is the forum awash with this one request lately?
:(

Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: eazsy, mexican scientist, mikeyww and 42 guests