← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #170387]: Where are my Screenshots? Image path?

 

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

eliteSKL posted a new comment:
lol i use almost the same thing.... except i use it as an automatic
capture on exceptions.

import os
import getpass
import shutil

pathtosavefile=os.path.join(r"C:\Documents and Settings",
getpass.getuser(), "Desktop") #save to desktop

shutil.move(capture(SCREEN), pathtosavefile) #put this as part of your
except statements.

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