← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #252488]: making loops and adding a counter

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
use
Debug.user("some message")

which gives you some more options like writing to a file:
before the first use of Debug.user() write:

Debug.setUserLogFile("path to your log file")

Debug.user can be used according to the Java String.format rules

example:
Debug.user("finished %d loop", i)

use %d for numbers and %s for strings

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.