How can I call the Pattern Settings screen without using the SikuliX IDE

Asked by klaassmit007

Hello Herr Hocke,
I want to call the Pattern Settings screen using the filename of the pattern.
Is it possible to use PatternWindow and how (which parameters to use)?
Gr., Klaas

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

sorry, not possible (easily).

It is hard-wired into the code of the IDE.

But if you are an experienced Java-programmer you might look into the hell-of-a-code ;-) and find a solution.

the top class is sikulix::org.sikuli.ide.PatternWindow which extends JFrame.

I have no idea, what effort it might be, to isolate the feature to use it standalone.
But if you go in this direction, come back with any question.

version 2 will have this feature, so you might use it in your scripts/programs - but this does not help you now ;-)

Revision history for this message
klaassmit007 (klaassmit007) said :
#2

Thanks,
Will there be a prerelease of 2.0? Otherwise I have to code ☹.
Greetings,
Klaas

Sent from Mail for Windows 10

From: RaiMan
Sent: dinsdag 3 mei 2016 17:22
To: <email address hidden>
Subject: Re: [Question #293197]: How can I call the Pattern Settings screen without using the SikuliX IDE

Your question #293197 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/293197

    Status: Open = Answered

RaiMan proposed the following answer:
sorry, not possible (easily).

It is hard-wired into the code of the IDE.

But if you are an experienced Java-programmer you might look into the
hell-of-a-code ;-) and find a solution.

the top class is sikulix::org.sikuli.ide.PatternWindow which extends
JFrame.

I have no idea, what effort it might be, to isolate the feature to use it standalone.
But if you go in this direction, come back with any question.

version 2 will have this feature, so you might use it in your
scripts/programs - but this does not help you now ;-)

--
If this answers your question, please go to the following page to let us
know that it is solved:
https://answers.launchpad.net/sikuli/+question/293197/+confirm?answer_id=0

If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https://answers.launchpad.net/sikuli/+question/293197

You received this question notification because you asked the question.

Revision history for this message
RaiMan (raimund-hocke) said :
#3

I think you have to code, because these features will only be available in a pre-version late in summer.

Revision history for this message
klaassmit007 (klaassmit007) said :
#4

Ok. Thx.
Gr. Klaas

Verzonden vanaf mijn Windows 10-telefoon

Van: RaiMan<mailto:<email address hidden>>
Verzonden: woensdag 4 mei 2016 12:38
Aan: <email address hidden><mailto:<email address hidden>>
Onderwerp: Re: [Question #293197]: How can I call the Pattern Settings screen without using the SikuliX IDE

Your question #293197 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/293197

    Status: Open => Answered

RaiMan proposed the following answer:
I think you have to code, because these features will only be available
in a pre-version late in summer.

--
If this answers your question, please go to the following page to let us
know that it is solved:
https://answers.launchpad.net/sikuli/+question/293197/+confirm?answer_id=2

If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https://answers.launchpad.net/sikuli/+question/293197

You received this question notification because you asked the question.

Revision history for this message
RaiMan (raimund-hocke) said :
#5

If you really do something in that direction, I would highly appreciate to get some info about your solution.