Opened 7 years ago
Closed 5 years ago
#3718 closed Bug (No Bug)
AU3_ControlSend of AutoItX3_x64.dll doesn't work properly
| Reported by: | Owned by: | mvptest | |
|---|---|---|---|
| Milestone: | Component: | AutoItX | |
| Version: | 3.3.14.0 | Severity: | None |
| Keywords: | AU3_ControlSend | Cc: |
Description
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.
Attachments (0)
Change History (4)
comment:1 by , 6 years ago
| Component: | AutoIt → AutoItX |
|---|---|
| Owner: | set to |
| Status: | new → assigned |
comment:2 by , 5 years ago
comment:3 by , 5 years ago
| Owner: | changed from to |
|---|
comment:4 by , 5 years ago
| Resolution: | → No Bug |
|---|---|
| Status: | assigned → closed |
No confirmation so I close the ticket.
Just reopen a new one if still true with the script to reproduce

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}");