interactively set target offset for an image using sikuliapi with jython

Asked by Akhil Ahuja on 2018-02-17

In sikuli ide, in click function if we click on the image, it opens another window where in target offset we can interactively set click position instead of clicking at center of image.

I have seen one example Check the Right Checkbox in which similar functionality is being used. I wonder what should be done to achieve same using jython and sikulixapi?

Question information

English Edit question
Sikuli Edit question
No assignee Edit question
Last query:
Last reply:
RaiMan (raimund-hocke) said : #1

--- what should be done to achieve same using jython and sikulixapi
this is only available in the IDE.

Hence you can use the IDE to manage you script, but use the commandline and Jython to run it.

Akhil Ahuja (akhilahuja927) said : #2

I know I'm asking too much, However can you please tell me atleast approach of implementing the same using jython and sikulixapi?
I'll write code by myself if at all i can.

RaiMan (raimund-hocke) said : #3

the IDE GUI is written in Java:

The function you are talking about is in:

Try to get it running standalone in a Jython environment.

Can you help with this problem?

Provide an answer of your own, or ask Akhil Ahuja for more information if necessary.

To post a message you must log in.