A better If

General Macro Scheduler discussion

Moderators: JRL, Dorian (MJT support)

Post Reply
SUG

A better If

Post by SUG » Sun May 18, 2003 1:21 pm

Hi

I think the If command got better. It can have two labels (the first if the condition happens and the second label if the condition does not). Also, you can use subroutines instead of label. Very fine!!

But... I think it would be better if these things could do with other if-like commands (IfWindowOpen, IfWindowClosed, and so on). I think the if-like commands should be able to have two labels (or two subroutines) like If command does.

I think it would be better if you would be able to keep empty the first label.
Something like this:

If>a=b,,sec

So if the condition happen, nothing happend. If the condition does not happen, go to label "sec"

Or something like:

IfWindowOpen>notepad,,nan

If notepad is open, nothing happens. If notepad is not open, go to label "nan" (or make the subroutine "nan").

Please, add these features for future releases.

Regards.

Lumumba

Post by Lumumba » Tue May 20, 2003 9:34 am

What about using a command instead of a label? That would rock!

If>a=blablabla, MidStr>invar,1,5,outvar

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts