← Back to team overview

sikuli-driver team mailing list archive

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

 

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

I'm trying to do something like this:

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

There's plenty of words in there that are highlighted as special functions or characters.  How can I mask the text to be pasted?  Right now it errors off with this:


[error] Stopped [error] An error occurs at line 1 [error] Error message: SyntaxError: ('mismatched character \'\\n\' expecting \'"\'', ('/tmp/sikuli-tmp8146918372984068098.py', 1, 120, 'paste("Name: Michael\\nLocation:  NC USA\n')) 

Thanks,

Mike

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