← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #674818]: Multiple events in one script

 

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

RaiMan proposed the following answer:
If the observe feature (H1.onAppear(image3, handler)) does not help, it
is not possible with normal usage of while/if/else.

You would need some parallel processing with locking/messaging.

There is no feature, that allows to restart a script from a specific
line, if something happens.

Generally the features of SikuliX are not atomic, hence asynchronous
events might come up somewhere during processing of a feature.

So a workflow with asynchronous events always needs some more or less
complex synchronisation of the workflow elements.

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