Page 1 of 1
If script not working
Posted: 03 Oct 2017 19:25
by TheUnknownBuffalo
I've got this as an action UI script, but don't understand why it won't work:
title=getText(20,20)
if(title=="OK")
click("OK");
WHat have I done wrong?
Re: If script not working
Posted: 03 Oct 2017 19:38
by Martin
Hi,
The script looks almost OK to me, except the missing semicolon after the getText function call:
title=getText(20,20);
if(title=="OK")
click("OK");
Try to append a condition Debug Dialog to the flow and execute the flow to see if the variable title actually contains the expected text.
Regards,
Martin