Search found 2 matches

by macrobody
Fri Nov 28, 2014 4:15 pm
Forum: Technical / Scripting
Topic: the boolean operator in a variable
Replies: 5
Views: 5187

Re: the boolean operator in a variable

Just wanted to know if it was possible. But if you want to know: Lets say we check a certain condition and the condition is True (i.e we found red pixels in a bitmap), In that situation I want to compare two variables and if var A is greater than var B it would set a flag and perform routine X We re...
by macrobody
Sun Oct 12, 2014 6:27 pm
Forum: Technical / Scripting
Topic: the boolean operator in a variable
Replies: 5
Views: 5187

the boolean operator in a variable

Below script does not work, but is it possible another way?

Code: Select all

Let>clip=0
Let>max=10
Let>bool=>
If>{(%clip% %bool% %max%)}
 Message>greater
Else
 Message>smaller
EndIf
Sign up to our newsletter for free automation tips, tricks & discounts