← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #199770]: whe I use capture a Region, where is the image saved in my computer?

 

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

    Status: Answered => Solved

Erna Tercero confirmed that the question is solved:
Thank you, i have now the File name, but this do not exist in disk, even
when gives me the entire path:

C:\DOCUME~1\VENDOR~1\LOCALS~1\Temp\sikuli-scr-1833345246265736305.png

but no document exists, any other thing i am missing, here is the code:

@SuppressWarnings("deprecation")
		Region T = new Region(799,201,313,48);
		
		System.out.println(s.capture(T));
		
		ScreenImage i=s.capture(T);
		
		i.getImage();
		String filepath = i.getFilename();
		System.out.println(filepath);

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