sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #33434
Re: [Question #268754]: What are the exit() parameters?
Question #268754 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/268754
Description changed to:
Hi all, Im using this code...
try:
reg.click(Image)
except
App.setClipboard("image not found")
exit()
I would like to write in the Sikuli IDE log "image not found" + somevariable
Currently Im using
Debug.log("image not found %", xyz)
where xyz = somevariable
but when I run it I get this error
[error] java.util.FormatFlagsConversionMismatchException ( java.util.FormatFlagsConversionMismatchException: Conversion = e, Flags = )
How can I put a variable value in a SIkuli IDE log???? Thanks Advanced
and please I would like to know what are exit() parameters??
I've tried to read about that from here with no clue http://doc.sikuli.org/globals.html
it seems that are numbers? like 1??
Thanks Advanced.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.