sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #54595
Re: [Question #689336]: Passing argument value dynamically
Question #689336 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/689336
Status: Open => Answered
Manfred Hampl proposed the following answer:
This is absolutly not Sikuli-specific, buy plain Python.
See books or web pages about Python.
Topic: String concatenation.
Try
type("mode con: cols="+str(h)+" lines="+str(w))
or similar to your creation of "cmd = 'start ...'
modeCommand = 'mode con: cols=%s lines=%s'%(str(h),str(w))
type(modeCommand)
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.