I have a situation in my click function, I want 2 dpi values for identifying 2 different texts.
For eg: one text is found only with dpi:80
and for another text dpi:144 is required.
How can I use 2 dpi settings in one single line and be able to search both the string?
// Set this somewhere before execution
Set GLOBAL AlternativeDPI to (72,144)
// Code to use
repeat with each item MyDPIList of GLOBAL AlternativeDPI
if imagefound(text:"SOME TEXT",DPI:MyDPIList ,waitfor:3) then
//Do Something here
else
//Do Something here
end if
end repeat