could not find the location where Screen.capture(region) stores the image
Im trying to find the location where the temporary image captured by Screen.
from org.sikuli.script import Region, Screen
import shutil
from org.sikuli.script import ScreenImage
reg = Region(
objvalue = Screen(0)
pathvalue = objvalue.
#shutil.
print(pathvalue)
On running the above code, the value printed is 'org.sikuli.
Also, i could not move the image using shutil.move function and it throws an error stating
TypeError: coercing to Unicode: need string, org.sikuli.
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Subramanian for more information if necessary.