← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #151077]: nearby example for windows 7

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
hover does not return a region object, which is needed for nearby().

you have to say either:

mTL=find(XXXXX PICTURE OF ONE OF THE LIST ITEMS XXXXXXX )
hover(mTL )

or

mTL=hover(XXXXX PICTURE OF ONE OF THE LIST ITEMS XXXXXXX )
mTR = getLastMatch().nearby(200).right().find(XXXX PICTURE OF THE BLUE DOWN ARROW that APPEARS on HOVER XXXX )

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