← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #159889]: Using paste/type with extended characters

 

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

    Status: Open => Answered

eliteSKL proposed the following answer:
paste("Name: Michael\nLocation:NC USA\n356mm (14" Zambuto)")
..........................................................................^  the quote there needs to be escaped.

try below:

paste("Name: Michael\nLocation:NC USA\n356mm (14\" Zambuto)")


you are probably trying to put quotes in side a string is the problem.  see escape charaters
http://docs.python.org/reference/lexical_analysis.html#string-literals

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