sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #30895
Re: [Question #232732]: How to take a screenshot (fullscreen) in SIKULI IDE ?
Question #232732 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/232732
Nurbergen posted a new comment:
import os
import shutil
dir = r"C:\" \\ my piture here
img = capture(Region(594,51,24,21)) \\ it take piture
imagename = os.path.join(dir, "imgname.png")
shutil.move(img, imagename) \\ this movet to C:\
if Region(560,12,982,845).exists(imagename):
click (imagename) // i wanto click for this picture
[error] Stopped
[error] An error occurs at line 3
[error] Error message: SyntaxError: ('mismatched character \'\\n\' expecting \'"\'', ('C:\\Users\\41B5~1\\AppData\\Local\\Temp\\sikuli-tmp8866248239526860988.py', 3, 12, 'dir = r"C:\\"\n'))
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.