[jawsscripts] Re: help with multiple If statement entries not working?

  • From: Daniel Dalton <daniel.dalton47@xxxxxxxxx>
  • To: jawsscripts@xxxxxxxxxxxxx
  • Date: Thu, 11 Oct 2007 21:33:33 +1000

If you can send me all your scripts I might be able to help further. I don't have all the functions to test.

What happens if you change the first line of the if statement to this?
if (GetTextInRect (345, 327, 501, 350) != "TakeAway Unit" || GetTextInFrame ("ConfirmTakeAwayCustomerDetailsTriggerConfirmTakeawayDetailsScreen") != "Unit" && GetTextInRect (273, 327, 417, 350) != "Confirm Take") then

Are you saying if condition one or 2 are true and condition 3 is true execute code?
It will still execute if condition 1 and 2 are both true as well.

It won't execute however if condition 1 is false and condition 2 is false.
Or if condition 3 is false it won't execute.

Hope that isn't too confusing.
Let me know if you want further help and I will see what I can do.

--
Daniel Dalton

http://members.iinet.net.au/~ddalton/
daniel.dalton47@xxxxxxxxx
__________ 
View the list's information and change your settings at http://www.freelists.org/list/jawsscripts

Other related posts: