Open AnthonyZJiang opened 4 years ago
I figured it has to be an issue with the included AutoItX3.dll, so I replaced them with the ones found in my AutoIt folder. Now control_click
and control_send
works well. I haven't done any conclusive test of the dll but all my old scripts still work. They use mouse_click
and send
.
Maybe it worth to test them fully. lib.zip
I have same issue(only focus works)
Is there any suggestion for solving this problem?
Below code works.
autoit.control_focus("BlueStacks", "")
autoit.control_send("BlueStacks", "", send_text="1")
But below code not works
# autoit.control_focus("BlueStacks", "")
autoit.control_send("BlueStacks", "", send_text="1")
For Bluestacks, you have to control focus first. This is an issue with Bluestacks.
I figured it has to be an issue with the included AutoItX3.dll, so I replaced them with the ones found in my AutoIt folder. Now
control_click
andcontrol_send
works well. I haven't done any conclusive test of the dll but all my old scripts still work. They usemouse_click
andsend
.Maybe it worth to test them fully. lib.zip
Can you make a branch with these files? I'd be highly valuable for other Bluestacks users as well.
Edit: I can confirm this patch works. Use as its own discretion.
I figured it has to be an issue with the included AutoItX3.dll, so I replaced them with the ones found in my AutoIt folder. Now
control_click
andcontrol_send
works well. I haven't done any conclusive test of the dll but all my old scripts still work. They usemouse_click
andsend
. Maybe it worth to test them fully. lib.zipCan you make a branch with these files? I'd be highly valuable for other Bluestacks users as well.
Edit: I can confirm this patch works. Use as its own discretion.
The latest dll is version 3.3.14.5.
The list of changes in these API can be found here: Release notes Script breaking changes
I might be able to spend some time on getting the dll updated in a few days/weeks.
I don't know what is Bluestacks.Maybe i have same question. when i use Windows cmd,if i run py script as administrator 以管理员运行,it works!wish this could help u! by the way, pycharm run as administrator, it works too
Has anyone had any issue with
control_click
andcontrol_send
in Bluestacks?The following AU3 code works fine:
But the python translation of the above code doesn't work:
Also, other control functions such as
control_hide
andcontrol_show
work well.