Re: Alternative Sendkeys using Bypassed Postmessage
I am having an interesting problem, Im attempting to use this for Luna online, It will indeed send keystrokes to the program but, if i use lowercase letters it comes out as numbers, If i use uppercase letters it comes out as lowercase letters, and none of the keys requiring brackets seem to work, Does anyone have any idea why this might be? Im really just trying to get {CONTROL} to work
Unfortunatly I'm not very knowledgeable on this kind of thing and ive done about all i can to try and figure it out, Any help would be very much appreciated.
Re: Alternative Sendkeys using Bypassed Postmessage
If anyone has any ideas I would be very appreciative, Ive exhausted my very limited knowledge of programming already and all I did was break the program more :)
Re: Alternative Sendkeys using Bypassed Postmessage
Thanks so much! This works very well, especially the get active window feature. Does wonders with dual-clienting. Now my Flyff life will be much easier. Thanks again for sharing. =)
Re: Alternative Sendkeys using Bypassed Postmessage
dude sinply...you are amazing <3 thnx for sharing that with us, GUYS please no one abuse this thing use it carefully so it doesnt get caught by Gms, thnx again for releasing and sharing this with us <3 good work keep going
Re: Alternative Sendkeys using Bypassed Postmessage
Just download the sourcecode and you will see.
You will also find out that the 1 out of 40 results is a false positive.
Edit:
What this does is simple, it translates an input string to a sequence of keystrokes.
Example: "Hi" will result in a simulated H keystroke and a simulated i keystroke.
You can use keys like enter by putting the capitalised key-name between brackets (example: {ENTER} ).
To insert a small delay between keystrokes insert the string: {DELAY}
This program also simulates spaces in the input string.
Example on how I let it shout: {F1}{DELAY}{F2}{DELAY}{F1}{DELAY}{F2}{DELAY}{F1}
This reads as: press F1, wait x miliseconds, press F2, wait x miliseconds......
This improves the Configurable Keystroke Simulator in 2 ways:
-1- Remove the 10-keys limit
-2- Allow (almost) all keys on the ASCII table.
The only downpart is that this program is quite a bit slower than the configurable keystroke simulator.
Re: Alternative Sendkeys using Bypassed Postmessage
Hi Joostp!
I have been playing around with your Sendkeys program based on the bypassedpostmessage.dll (BIG thank you :D) but have ran into some trouble. I did try and search for the solution on my own but after almost a week of searching (I'm not kidding!) I still haven't found a satisfactory answer as to what is going on. The program works just fine when I am using the Function keys F1-F12 and it seems to send that to any program no problem. Only issue is when im trying to send anything else whether it be text or even the {ENTER} or {TAB} nothing happens, its like it ignores it and moves on to the next function. I even tried with ASC codes, no go. Not even the regular numbers are working for any window handle. Another interesting thing is that when I use this with my game Rapz it does the keystroke once and then no more. I found out that it is not releasing the keystroke once it has been pressed and I can get it working again by physically pressing and releasing the corresponding button on KB and then start script again so that it knows the key is released. Please help!
Re: Alternative Sendkeys using Bypassed Postmessage
Sounds like another problem..
If the trampoline isnt working for your windowsversion, only 1 keystroke gets simulated.
Also the O/S takes care of the KeyUp, so specifically having the program do a KeyUp shouldnt be nessecary. (Its functioning on my pc just fine)
What version of windows are you using?
Do you restart the whole program?
Does the program "hang" after 1 keystroke?