← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #230363]: [Java] Button Capture and ScreenUnion

 

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

    Status: Open => Answered

j proposed the following answer:
just make sure you have sikuli-script in your classpath and then add

Screen.getScreen(0).capture() to the action-listener of your button.
this will trigger the user-selected screenshot screen.

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