sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #24002
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:
@Jeremy
"There is a simply workaround, very dirty, who consist to do a loop and rise a flag (very, very dirty)."
Boolean flag = false;
void someFunction() {
while (1) {
if (flag == true) {
// do your sikuli action
flag = false;
}
}
}
void actionPerformed(){
flag = true;
}
Very dirty like I said.
My advice, use the RaiMan answer ;-)
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.