• Log in or sign up for an account here: https://www.sythe.org/login

Sending strings to RS with hotkeys

Maga

Newcomer
Joined
May 4, 2009
Sythe Gold
0
Messages
2
No no no, not like an auto-typer.

I'm talking about having this application running in the background, or minimized, then whenever I press the hotkey, like Enter, or Q or whatever (while RS is the active window), the program sends a previously specified string to RS. So I never have to alt-tab to it or anything. I can just forget about it. And it doesn't have to press enter either. Just send the string.

Is this possible at all?

I've tried working it out but I'm quite a newb when it comes to coding. I've looked into tuts for auto-typers, etc, but they all just talk about pressing a button then it happens. I want it to happen while RS is the active window, so I don't have to switch back to the app.

Thanks for any help, cheers.
 
So you want a keylogger for Runescape?

Don't think this is allowed here
 
Member of the Month Winner
Sythe's 10th Anniversary
So you want a keylogger for Runescape?

Don't think this is allowed here
He never said anything about logging keys. >_<

Learn how to use the SendMessage API. That would be the best way you could do it.

Otherwise, you could always use SendKeys, but that is deprecated. SendMessage is better, just more complicated.

Info on SendMessage in .Net (VB declarations are down the page a little, after the C#): http://www.pinvoke.net/default.aspx/user32.SendMessage
 
So you want a keylogger for Runescape?

Don't think this is allowed here
Is it just me or does most people here think that newcomers want to break rules? :P.


Thanks a lot for the info, Swan.
 
Valentine's Singing Competition Winner
Sythe Awards 2015 Winner
Sythe Awards 2016 Winner
Sythe Awards 2020 Winner
Member of the Month Winner
MushyMuncher
Gohan has AIDS
Extreme Homosex
World War 3
I'm LAAAAAAAME
Discord Verified
Off Topic Participant
As for hotkeys, since your form will be minimized, you should look into the RegisterHotkey and UnregisterHotkey API.
 
duelarena.gg
Back
Top