Jump to content
 

Anyway to send KeyPress gesture ???? Tried PostMessage etc :( + Why the hell do we need it


Recommended Posts

Posted

Hi,

I am trying to send keystrokes to game but it isn't working . Last method I tried was using Postmessage etc.

PostMessage(h, WM_KEYDOWN, (IntPtr)(VK_END), IntPtr.Zero);
                                SendMessage(h, WM_CHAR, (IntPtr) (VK_END), IntPtr.Zero);
                                PostMessage(h, WM_KEYUP, (IntPtr) (VK_END), IntPtr.Zero);

 

Wasn't sure if need to send SendMessage for END key so tried both ways. Already tried by setting process as foreground and using SendInput , SendKey etc. Didn't work for me. Not even OK with cheat engine scripting and besides as per my knowledge KeyUp/KeyDown etc, though listed, don't work.

 

WHY the hell

Well community creations for wwe 2k22 are too massive and they didn't bother implementing a simple thing like keypressed gesture, like in 2k19. So going to page 4000 means pressing End key 4000 times and if you have some sort of iron claws, what are the guarantees that you will stay connected ;).  On Joystick you have to do the same, keep on pressing they key

 

So if someone knows of a tool or something, please share

Thanks in advance

Posted

You could just use a macro? Most modern keyboards have software to enable macros. If your keyboard doesn't, this could work for you or AutoHotkey as an alternative (AHK is more complex than a proper GUI macro software but still works).

  • Thanks 1
Posted
On 8/26/2022 at 3:44 PM, kye said:

You could just use a macro? Most modern keyboards have software to enable macros. If your keyboard doesn't, this could work for you or AutoHotkey as an alternative (AHK is more complex than a proper GUI macro software but still works).

Thanks @kye, do seem like a wonderful idea, will give it a go when will get time. 

  • 2 weeks later...
Posted

@kye macrorecorder didn't work, will try autohotkey some other times. But thanks you give me a new directions.

Things like this teaches us, how stupid a man can get. Goal was to easily browse Community creations.  2 Scans with Cheat engine and set any number in the address and go their straight away. Sometimes we are just stupid ;):D 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

Terms of Use Privacy Policy Guidelines We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.