← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #236513]: Display variable value (loop counter) on-screen during loop?

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
So if it is possible for you, to just look at something on another computer, that is produced on the remote computer, running the script: 
just create a file with a name like runningNNN.txt in a folder accessible from both computers (e.g. a share in the local net) and you have what you want.

# at beginning of script
import os
dir = "absolute path to shared folder" 

# at the trigger point
fileName = os.path.join(dir, "running%s.txt"%str(counter))
f = open(fileName, "w")
f.close()

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