[Java] Sikuli X: automatically naming screenshots only in Sikuli IDE - not in Java code
Hi folks, I recently got Sikuli X 1.0 rc1 working from Java, thanks for your good documentation, RaiMan! Now I'm trying to use a new feature of rc1. The changes for rc1 state, "Screenshot naming - screenshots can be named automatically with timestamps or the text in them as well as manually with prompted filenames." But I don't see anywhere how to do this. Here's my code:
Screen s = new Screen();
ScreenImage si = s.capture();
System.out.println( "Image captured: " + si.getFilename() );
The only problem is that it stores the captured .png file in a /var/folders/
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Powers Foss
- Solved:
- Last query:
- Last reply: