← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #268089]: Concatenate a variable to another variable name

 

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

guto posted a new comment:
Doesn't work. But now I'm trying a different thing. Trying to use an
array to get the value from clipboard, but I don't know how:


def search(coord):
        return coord.y

icons = findAll (#icons in the program#)
all_icons = sorted(icons, key=search)

for icon in all_icons: # here runs at least 3 times
        ...
        myVar = [App.getClipboard().strip().encode("utf-8")]


How do I put all the 3 (or more) values in the array myVar? I tried += and .= but doesn't work at all...

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