If and Else Basics

Hello. I'm doing something obviously wrong here... IF an image is present I want eggplant to run one snippet of code if it isn't then I want it to run something else... thought I had it..

if imageFound("FunctionsLog") then

(
DoubleClick "IE7"
)

else
(
Click "BlueDesktop"
)

end if

Comments

Sign In or Register to comment.