← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #237129]: how to use printscreen on laptop in java which requires to press the "fn" key

 

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

lakshmi posted a new comment:
These 2 lines solved my problem. Thanks!!

ScreenImage img = s.capture();
ImageIO.write(img.getImage(), "jpeg",new File("C:\\Lakshmi - EA\\Sikuli\\Image Files\\Image" + ++i +".jpeg"));

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