sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #47906
Re: [Question #671301]: Taking a screenshot always attaches unwanted digits in the filename
Question #671301 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/671301
Status: Open => Answered
RaiMan proposed the following answer:
you might use instead:
capture(SCREEN).getFile(…..)
according to this:
/**
* stores the image as PNG file in the given path
* with the given filename
*
* @param path valid path string
* @param name filename (.png is added if not present)
* @return absolute path to stored file
*/
public String getFile(String path, String name) {
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.