← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #180749]: Paste paths including ""

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
Try the following:

paste( 'C:\Automation\sikuli endpoints\endpoints_changer.bat "C:\Program
Files\' + msg + '"' )

we use single quotes for the strings, so we can use the apostrophe
inside as normal character, which will be pasted as such to the text
field in the run box.

... m Files\' + msg + '"' )
the last part is the trailing apostrophe for the path name parameter as a single quoted string.

Hope it is clear and helps.

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