[HELP] Sending arrow keys with MapleSEA minimized
[HELP] Sending arrow keys with MapleSEA minimized
Hello everyone currently im sending arrow keys to MapleSEA using sendinput, which requires MapleSEA to be the foreground window. Is there another method for sending input with MapleSEA minimized? or a method to trick MapleSEA into thinking its the foreground window?
-
- Master of Darkness
- Posts: 431
- Joined: Sat Dec 12, 2009 9:01 pm
- Location: Heaven !
- Contact:
Re: [HELP] Sending arrow keys with MapleSEA minimized
NRZBot is capable of doing that , download the source and explore itmadeforum wrote:Hello everyone currently im sending arrow keys to MapleSEA using sendinput, which requires MapleSEA to be the foreground window. Is there another method for sending input with MapleSEA minimized? or a method to trick MapleSEA into thinking its the foreground window?

Re: [HELP] Sending arrow keys with MapleSEA minimized
I explored it but i realised its using sendinput too. Can you tell me what have i missed? The program im making is an external one like Nullz Pyramid Bot.
E.g of sendinput from NRZBot 2.2 source
E.g of sendinput from NRZBot 2.2 source
Code: Select all
/*MoveLeft*/
void MoveLeft()
{
while(!MoveLeftExit)
{
KEYBDINPUT kb={0};
INPUT Input={0};
kb.wVk = 0x25;
Input.type = INPUT_KEYBOARD;
Input.ki = kb;
::SendInput(1,&Input,sizeof(Input));//keydown
Sleep (MoveDelay);
::ZeroMemory(&kb,sizeof(KEYBDINPUT));
::ZeroMemory(&Input,sizeof(INPUT));
kb.dwFlags = KEYEVENTF_KEYUP;
kb.wVk = 0x25;
Input.type = INPUT_KEYBOARD;
Input.ki = kb;
::SendInput(1,&Input,sizeof(Input));//keyup
Sleep(MovementDelay*1000);
}
}