Question #220146 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/220146

    Status: Open => Answered

RaiMan proposed the following answer:
comment #2: 
f(x != reg.print)
stringVar = capture(reg)
else
image.click()


comment #2 and #3:
if you want to save the shots as logging information (aka permanently), then 
you need to move the images, since capture() stores the image in a temp folder 
and they are deleted at script termination.

- the principle
import shutil
import os
shotLog = my_dir + AdditonalPathing
shutil.move(capture(reg), os.path.join(shotLog, "you-name-it.png"))

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to