← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #243428]: Click button in JAVA swing app to start sikuli

 

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

obiwan-92 proposed the following answer:
Hello.

Yes, but you can't call Sikuli when you are in an event (like actionPerformed) : 
it cause trouble with the threads inside Sikuli.

There is a simply workaround, very dirty, who consist to do a loop and
rise a flag (very, very dirty).

But, like RaiMan said, you can also run Sikuli in a thread and I presume
it will work (I never try ;-) ).

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