Comments (7)
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.
I have same issue(only focus works)
- Replacing dll file with what you upload is not help.
- 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.
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.
For Bluestacks, you have to control focus first. This is an issue with Bluestacks.
from pyautoit.
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.
from pyautoit.
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.
from pyautoit.
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)
- control_tree_view command "GetText" return Error when using pyautoit module, return None when using win32com module
- Installation problem HOT 2
- AutoIT control_click not working HOT 1
- Does not detect the windows HOT 1
- PyAutoIt wants to import fcntl module but it doesn't exist on Windows?!?
- PyAutoit on windows installs directly on AppData\Local\... directory instead of the env\Lib\site-packages directory.
- win_get_tittle 获取中文会出现乱码 HOT 2
- autoit.autoit.AutoItError: Window/Control could not be found HOT 2
- It´s only writing the filename.ext on file manager, not the full path. HOT 1
- How to call the macro of autoti use pyautoit?(如何用pyautoit调用autoit的宏?)
- AutoIt Options HOT 3
- v0.6.4 missing lib HOT 1
- pyautoit does not work with pyoxidizer due to reliance on __file__
- control click not working on LDPlayer? HOT 1
- What does h_ctrl mean?
- mouse wont move
- How to send function keys for F1 - F12 to current window
- tooltip not working python 2.7 ?
- Clicking occasionally fails
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyautoit.