← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #265505]: Is there a way to convert the clipboard content into list in sikuli?

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
what you get with

a = App.getClipboard();

is a string, that represents a valid Python list notation.

so you can get the "real" list this way:

aAsList = eval(a)

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