← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #700361]: How to create region button like sikulix IDE

 

Question #700361 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/700361

    Status: Open => Answered

RaiMan proposed the following answer:
If Java is ok for you:

The starting point (Region Button) is 
org.sikuli.ide.SikulixIDE::ButtonSubregion::actionPerformed (when the user clicks the button)

The work is done in 
org.sikuli.script.Screen.doPrompt (ask the user to draw the rectangle)

The result comes back here:
org.sikuli.ide.SikulixIDE::ButtonSubregion::update

Be aware: the solution is for multi-monitor environments and it is
straight forward but not simple.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.