← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #234860]: Save region or image on a specific place in hard disk

 

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

    Status: Open => Solved

Laura Fernández confirmed that the question is solved:
dir = "" + os.path.dirname(getBundlePath()) + "\Imagenes de Error"
    imgNew = "Fail in " + num
    img = capture(regionDeLaPantallaDelSistema())
    shutil.move(img, os.path.join(dir, imgNew + ".png"))

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