Questions tagged [lackey]

A graphical desktop automation library written in pure Python.

3 questions
2
votes
1 answer

ImportError for cv2 with lackey in a virtualenv

Big picture is In Windows 7, lackey installed with pip in a python3.6.1 virtualenv created with a python2.7.2 interpreter from an unpacked .tar.gz of virtualenv15.1.0 can't import the cv2 module. Context / Environment In Windows 7 (x64) with…
0
votes
1 answer

How to capture screenshot in Python with lackey?

I would like to do a screenshot with lackey of ideally the screen of an app (but to begin with, a screenshot of the whole screen would be OK). I have tried from lackey import * notepad = App('notepad.exe') notepad.open() focusWindow =…
Jean-Francois T.
  • 11,549
  • 7
  • 68
  • 107
0
votes
1 answer

Python automation with Lackey library

i'm trying to use lackey library for gui automation tasks import lackey import time # pattern for lackey pattern = lackey.Pattern(r'C:\Users\rainman\Desktop\myfolder\myPicture.png') # define main screen screen = lackey.Screen() # find element on…