Applescript if equal to, equal to, equal to -
i try do script set variable (e.g set matchornotmatch match) if variable equal.
set value1 "fr" set value2 "fr" set value3 "fr" set value4 "fr" set matchornotmatch "no match" if value1 equal (value2 equal (value3 equal value4)) set matchornomatch "match" end if
if not return value1 = value2 = value3 not equal value4 (if possible)
a series of if, else if, else statements should trick:
set value1 "fr" set value2 "fr" set value3 "fr" set value4 "fr" set matchornotmatch "" if (value1 = value2) , (value1 = value3) if (value1 = value4) set matchornotmatch "match" else set matchornotmatch "partial match" end if else set matchornotmatch "no match" end if return matchornotmatch
Comments
Post a Comment