Open Deverified opened 1 year ago
Call this, wouldn't need the window visible. https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-sendmessage
I think this might be a solution, but Im not very good in C++ I'll try to make something out of this, but roblox probably detects this, so we probably need something like DirectInput
I guess an inactive Roblox window doesn't respond to sent keystrokes, I searched lots of AHK forums
Since you're using python you can probably find some winapi proxy for calling SendMessage or some other function with similar functionality. If the inactive roblox window doesn't respond it's likely ShowWindow being the cause for it and you should remove it and see if the issue persists but I would make sure SendMessage works without rbxsilent running. Desyncing/dropping keys due to low fps could also be an issue but unlikely.
The project is really nice and I respect that the owner shared It with us, but the issue is that I need window of roblox client to be visible because I send direct inputs to active window with my python script I hope there is a solution to still have a visible roblox window