Modify

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: k.schaefer@… 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 J-Paul Mesnage, 6 years ago

Component: AutoItAutoItX
Owner: set to Jon
Status: newassigned

comment:2 by J-Paul Mesnage, 5 years ago

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

comment:3 by J-Paul Mesnage, 5 years ago

Owner: changed from Jon to mvptest

comment:4 by J-Paul Mesnage, 5 years ago

Resolution: No Bug
Status: assignedclosed

No confirmation so I close the ticket.
Just reopen a new one if still true with the script to reproduce

Modify Ticket

Action
as closed The owner will remain mvptest.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.