swordrave
Oct 21 2006, 06:49 PM
I have been able to send every other key but the enter key. I can type in the thing i need to say in chat but when i try sendkeys.send({ENTER}), Nothing hapens. Are there any API calls or .dll s i can use to send the enter key?
Ahk
Oct 23 2006, 04:55 PM
I would suggest searching for VB.net sendkeys or possibly referring to the help if it has it...that is, if you haven't already done that.
There's gotta be some information on that out there. Same for the DLLs.
Ayoros
Oct 26 2006, 10:35 AM
Well sendkeys doesnt work for final fantasy, at least not for me, i also tried the keyboard api and failed too, im thinking of using the windowerhelper.dll only thing its that will tie my app to azaril windower, and if windower goes down, so my app.
If someone found a sollution please share.
Meanwhile ill key searching.
Regards
Ayoros
Oct 27 2006, 10:05 AM
One day research showed me that no send key command or api will work because most games, like this one, use DirectInput so there are some sollutions.
First one its learn directx programing and do it.
Second one, you have to use phyton and some windowsextension plugin, but o broke my head triying this and gave up.
The las one and the one i choosen is to use the windowerhelper.dll free avaible from the guys of the windower, it has one con, and that is if windower goes down your program goes down, but aside that i has a big pro, you can send commands to a non focused window so you can run your bot, minimize it together with the windower and continue working, and thats so awesome.
Hope this helps...
swordrave
Oct 28 2006, 05:11 PM
thank you, i have been able to send keys with the .net framework but i will try to use the windowerhelper. I see the non focus thing as a huge plus. I will report back with any problems i get or any solutions i find so maybe they can help others

.
*edit* I cant seem to figure out how to send keys to swg specifically. If anyone can help me, i would appreciate it.
courath
Oct 29 2006, 11:59 AM
if you want to send to an unfocused window your going to have to hook dirctinput. Theres a lot of "how to"s out there in c++ but im yet to find one in VB.NET.
Pyrolol
Oct 29 2006, 12:08 PM
I understand that that directx stuff is what windowerhelper does.
swordrave
Oct 29 2006, 12:35 PM
can you point me to a c++ tutorial for use with another game? I can get someone to translate it.
*edit* Also i dotn know if this helps, but AC Tool seems to be able to send return to swg
Ayoros
Oct 30 2006, 10:57 AM
Well me stubborn, lol i kept searching and searching cuz a wanted something independent of windower and i found my answer here:
Look here!!I hope this helps you swordrave.
Regards...
swordrave
Oct 30 2006, 11:43 PM
thanks that solved it. For anyone who wants to know how to do it
Place the dll in the same folder as your build
| CODE |
| Public Declare Sub AU3_Send Lib "AutoItX3" (ByVal lps As String, ByVal nmode As Integer) |
and call like so
| CODE |
| AU3_Send("{ENTER}", 0) |
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.