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.

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to