Mouse control
David L Neil
DomainAdmin at DancesWithMice.info
Sun Oct 13 01:41:13 EDT 2019
On 7/10/19 4:11 AM, Alexander Vergun wrote:
> Hello all,
>
> I am coding a voice assistant under Python 3.7, Windows 7. I am using
> PYcharm and libraries such as PYSimpleGUI, mouse, keyboard etc.
> Everything works except for the mouse control and probably keyboard, the
> problem is following, when I run the script under PYcharm, the script
> can control mouse only within PYcharm editor, but when the other window
> is on the top, the script cannot control the mouse, and the same happens
> when the script runs under the Python console. There is only one way to
> make script control the mouse - I have to manually click on the window
> which was opened by the script only then the script controls the mouse.
> I tried to call win32gui.SetCapture without any effect.
Of possible interest:
python-catalin Catalin George Festila.
Thursday, October 10, 2019
Python 3.7.4 : Testing the PyUSB python module.
https://python-catalin.blogspot.com/2019/10/python-374-testing-pyusb-python-module.html
(via PlanetPython)
--
Regards =dn
More information about the Python-list
mailing list