← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #668317]: pass in newimagepath on the command line

 

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

Marc Summers posted a new comment:
Command line in windows Batch file:
runsikulix.cmd -r %1 -f "%USERPROFILE%\Desktop.sikuli\logs\%1.log" -d 2 --args 'os.environ.get('USERPROFILE')' 'Desktop.sikuli' 'pictures_1920_1200'

What shows up on execution output:

runsikulix.cmd -r 796_795_garmin_charts_ctrl_eu_ifr_tdd_nd.sikuli -f
"C:\Users\marc.summers\Desktop.sikuli\logs\796_795_garmin_charts_ctrl_eu_ifr_tdd_nd.sikuli.log"
-d 2 --args 'os.environ.get('USERPROFILE')' 'Desktop.sikuli'
'pictures_1920_1200'

Error I get now:

[error] ImagePath: add: not valid:
'os.environ.get('USERPROFILE')'\'Desktop.sikuli'\'pictures_1920_1200'

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.