sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #13645
Re: [Question #211006]: Play sound on ERROR?
Question #211006 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/211006
RaiMan proposed the following answer:
Sorry, your first question is not answered completely:
--- how to play sound on error
easiest way:
wrap the whole script in a
try:
# your current code goes here indented one level
catch:
# shout here
If you have a longer running script may be with recursions, it might be
a solution to place "I am alive messages" at some sufficient places in
the script.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.