scythetleppo Posted June 27, 2006 Share Posted June 27, 2006 How can I send a message to diablo window... I'm making a full account mule permer for myself and I have to restore the window everytime I want it to send a message, tedious indeed. controlsend() is acting weird. I send "{ENTER}Message{ENTER}" and when I go to the game to see if I said that, It apparently has only pressed enter and stopped, because the chat box is up waiting for the message. Diablo doesn't have any control ID so... how can I send just enter and some keys without having to restore? yes, I've searched but found two similar posts with no answers given. my syntax is not wrong and I know that it's got to be possible somehow. d2jsp, a js for diablo, can send these types of clicks and messages while minimized so I'm sure autoit can too. Link to comment Share on other sites More sharing options...
jvanegmond Posted June 27, 2006 Share Posted June 27, 2006 Diablo works with non-windows ('imaginary') controls. You cannot use a ControlSend() on a window like Diablo II. I once had a great website that explained this, but i can't remember the URL. github.com/jvanegmond Link to comment Share on other sites More sharing options...
Nomad Posted June 27, 2006 Share Posted June 27, 2006 How can I send a message to diablo window...I'm making a full account mule permer for myself and I have to restore the window everytime I want it to send a message, tedious indeed.controlsend() is acting weird.I send "{ENTER}Message{ENTER}" and when I go to the game to see if I said that, It apparently has only pressed enter and stopped, because the chat box is up waiting for the message.Diablo doesn't have any control ID so... how can I send just enter and some keys without having to restore?yes, I've searched but found two similar posts with no answers given.my syntax is not wrong and I know that it's got to be possible somehow. d2jsp, a js for diablo, can send these types of clicks and messages while minimized so I'm sure autoit can too. Do a lot of research on DllCall. You're going to have to utilize a system .dll to do this. Nomad Link to comment Share on other sites More sharing options...
McDope Posted June 28, 2006 Share Posted June 28, 2006 i´m having the same problem, can you tell me which dll or function i need for entering text in such input controls? Link to comment Share on other sites More sharing options...
PsaltyDS Posted June 28, 2006 Share Posted June 28, 2006 How can I send a message to diablo window...I'm making a full account mule permer for myself and I have to restore the window everytime I want it to send a message, tedious indeed.controlsend() is acting weird.I send "{ENTER}Message{ENTER}" and when I go to the game to see if I said that, It apparently has only pressed enter and stopped, because the chat box is up waiting for the message.Diablo doesn't have any control ID so... how can I send just enter and some keys without having to restore?yes, I've searched but found two similar posts with no answers given.my syntax is not wrong and I know that it's got to be possible somehow. d2jsp, a js for diablo, can send these types of clicks and messages while minimized so I'm sure autoit can too.There is a registration/login required for d2jsp, so I'm not getting very far looking, but if you can find the source code and lincense info, maybe you can poke around in the JS code and see exactly what functions are called. Once you know that, I'll bet it can be implemented in AutoIT. If d2jsp is closed-source then you (or somebody else) will have to re-invent the wheel to get an AutoIT version going. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now