← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #680137]: repeat([waitTime]) how is this syntax with a region onchange?

 

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

    Status: Answered => Open

MP is still having a problem:
Hey thx for the amazing support. I will stay here with my questions! I
will be surely donating. :)

I tryed the wait 2 at the place you told me. But even with wait 10 + event.repeat(10) he STILL does it 2 times - _ -
The repeat just repeats after the inserted seconds... so after 4 seconds the event runs again with the red borders. (it feels like it is ignoring the condition of the onchange)

When a new number comes, it flashes a bit for 2 - 3 seconds. So I would
assume a wait of 4 - 5 would fix this problem. Cause maybe he takes a
screenshot of the flashing , so meaning after X amount of seconds he
compares the flashing color one with the final color one and gives me a
wrong onchange event.

But it still gives me twice a notification that 2 changes happened. :(
(+ 2 times the red borders) (I use the red borders and the print command
as a debug tool for testing the onchange command.)

I feel I am close but man, it is not easy :)

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.