sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #30218
Re: [Question #171361]: Save screenshots of application
Question #171361 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/171361
RaiMan posted a new comment:
the easiest approach:
img = capture(SCREEN)
shutil.move(img, '/Users/Log/img_' + str(time.time()) + '.png')
time.time() produces a number with a stepping of milliseconds, which
should be sufficient to get a new filename her ;-)
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.