New question #289706 on Sikuli:
https://answers.launchpad.net/sikuli/+question/289706

surf_ray = "C:\\DingDong\\ding_0.9.0.1603011\\ding.exe -scheduleanalysis -IDB 
\"D:\\Analyzer\\11-6592-H.db\" -AN \"SR\" -PGN \"Default\" -SI 5"
distn_thread = "C:\\DingDong\\ding_0.9.0.1603011\\ding.exe -scheduleanalysis 
-IDB \"D:\\Analyzer\\11-6592-H.db\" -AN \"distnthrd\" -PGN \"Default\" -SI 5"
net_result = ["1459454324185.png","1459454281825.png"]
        
Analyzers = [surf_ray,distn_thread]
results =["result-1.png", "result-1.png"]

for Analyzer,result in zip(Analyzers,results):
    openApp(Analyzer)
    
wait(Pattern("1459446866629.png").similar(0.41).targetOffset(166,62),FOREVER)
    click (Pattern("1459446866629.png").targetOffset(166,62))
    wait( "1458766157226.png",FOREVER)
    waitVanish( "1458766157226-1.png",FOREVER)
    wait(10)
    find(result)
    if net_result == result:
        click(Pattern("1458766726732.png").targetOffset(307,-176))


in the program above after the first loop I see the "result" which is a pdf 
file I now want the image in the net_result to be checked on the pdf image and 
if they match then do the click. I feel I am doing something wrong on the IF 
statement.

Also can I use 3 list like--    for Analyzer,result,net_count in 
zip(Analyzers,results,net_counts):
I get a error expecting RBSTACK

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to