← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #188398]: Image name passing thru excel, is not working

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
In the Excel case, the Pattern... is the string CONTENT, but in the
second case it is part of a Python script line.

If I am right, this should do it:

hover(eval(imgN))

where eval treats the given string content as something to evaluate
using the Python interpreter and return the result, which in this case
is a Pattern object.

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