← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #207683]: Changing settings on mutiple GUIs

 

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

Michael W gave more information on the question:
Update on this question. We have one GUI setting that can be set to 6
possible settings. We want to change it to a standard setting for all
devices. Here is the script I have. On step 2 the GUI setting can be one
of 6 settings. How do I get sikuli to find the setting shown and skip
the other 5 setting choices? The "or" command doesnt do it.

find("Preset-1.png")
rightClick(Pattern("Preset-2.png").similar(0.90).targetOffset(106,1)) or rightClick(Pattern("Preset-3.png").similar(0.97).targetOffset(112,-1)) or rightClick(Pattern("Preset-4.png").similar(0.95).targetOffset(110,-1)) or rightClick(Pattern("PresetOutdoo.png").similar(0.80).targetOffset(100,0)) or rightClick(Pattern("Preset-5.png").targetOffset(107,0)) or rightClick(Pattern("Preset-6.png").similar(0.80).targetOffset(100,-2))
type("O\t")
type("N\t")
type("N\t")
type("N\t")
type("N\t")
wheel(WHEEL_DOWN,2)
click("1346791944447.png")

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