Correct logic to execute an action if neither one nor another (but not both) images are visible

I am having a mental block to figure out a correct logic to use. Basically in citrix, on mac, windows commonly do not open to the correct size. And there is no way to manipulate these windows in Citrix easily as far as I know.

I have a script that requires to click on the 'place order' button at the bottom of the screen that is commonly not visible since the window is not opened completely. I want to execute the script to drag the bottom right corner of the window out diagonally if and only if the button 'place order' is not seen on the screen in this window. The problem is that button image is different whether it was, or not pressed previously,

So I have to evaluate the logic that if neither one of these two image is present (but not both), then drag the window corner. Having a mental block to figure out the correct logic here. See below image.

If I understand correctly, you want to drag the window if neither of the images are visible.

In which case, just use "none of the following are true" option.

1 Like

Thank you, @peternlewis !

1 Like

I have those kinds of mental blocks too, and often feel embarrassed about asking for help. This group has been very helpful with both issues.

1 Like