GithubHelp home page GithubHelp logo

Comments (7)

AnthonyZJiang avatar AnthonyZJiang commented on August 16, 2024 1

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

from pyautoit.

DoTheBestMayB avatar DoTheBestMayB commented on August 16, 2024

I have same issue(only focus works)

  1. Replacing dll file with what you upload is not help.
  2. I install autoit, and replace dll file with dll included in autoit. But not help.

Is there any suggestion for solving this problem?

from pyautoit.

DoTheBestMayB avatar DoTheBestMayB commented on August 16, 2024

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

from pyautoit.

AnthonyZJiang avatar AnthonyZJiang commented on August 16, 2024

For Bluestacks, you have to control focus first. This is an issue with Bluestacks.

from pyautoit.

gruberdev avatar gruberdev commented on August 16, 2024

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

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.

from pyautoit.

AnthonyZJiang avatar AnthonyZJiang commented on August 16, 2024

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

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.

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.

from pyautoit.

daizichuan avatar daizichuan commented on August 16, 2024

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

from pyautoit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.