1.1.2 Screen.capture(region, 'name') not working
Asked by
Edson Henrique Arantes
I want to save a region as a png file to process it in another app, so, no temporary save
my code is as follows:
calc = find("calculato
rows = 10
cols = 4
calc.setRaster(
result = calc.getRow(2) # result is a new region
path = Screen.
getting the error:
"TypeError: capture(): self arg can't be coerced to org.sikuli.
read the documentation but I can't understand what's wrong
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Edson Henrique Arantes
- Solved:
- Last query:
- Last reply:
To post a message you must log in.