AU3_ControlSend of AutoItX3_x64.dll doesn't work properly
Hi,
I read a lot on your page about autoit and how to use it. In my code I use the .dll of autoit to perform some automization. Unfortunately if I use the AU3_ControlSend function which should send some keystrokes to a specific window, it just only send keystrokes to the current active window even tough I send the right windowhandle.
I tested it with the command AU3_WinCloseByHandle and sended the handle and it closed like exepected the right not active window. The function to get the window handle get only called once, I debugged the function and it never get called again after initialization.
My code around it looks like:
AU3_ControlSend(s_handle, nullptr, L"{DOWN}");
As I read before, I don't need to specify a control handle to perform the call properly and the mode is in default 0.
In fact looking at your ticket
the pb seems to come from a missing parameter in your call
AU3_ControlSend(s_handle, nullptr, nullptr, L"{DOWN}");