← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #215490]: Dynamically capture symbols and search them --- all this in a loop

 

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

Ben gave more information on the question:
This is not supposed to happen, every time you supply me an answer, it
never works, I am starting to wonder if you are doing this on purpose. I
consider myself smart enough to paste some lines of code correctly. Why
are you trying to throw me off track every time Raimund?

I added...

while not exists(imgBase, 0):
    symbol = capture(rsym)
    rsym.highlight(1)
    found = checkCells(symbol)
    if not found: print "not found"; exit(1)
    click(found)
    wait(10)

...well guess what? It does a click at the bottom left of the screen
where there is nothing, and imgBase image is there waiting!. Is it
really that complicated to loop a script? I mean, common now? The same
exact web page is there and script simply needs to start the script over
again?

I spend 12 hours a day trying to get that script to repeat... my
goodness, what a pain.

Ben

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