← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #403785]: Opening an Excel directly in Sikuli

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
you might issue a Windows start command using run:
cmd = r'start ... appropriate parameters ...'
run(cmd)

parameters like paths must be enclosed in " if they contain blanks or
other characters (rules of commandline apply)

It helps, to first evaluate on a commandline window, how the start
command has to be written in your specific case.

Be aware of the special rules in Python about quoting in strings or use
raw strings r'...' as used above.

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