Year as constraints

FrameXX

Well-known member
Hi, There's a pretty simple way how to go around it.
Create new string variable in your macro and name it for example year (or as you want), Than in macro before you are going to check the year use action "set variable", select variable you created and use magic text [year]. After you set this action somewhere in the macro before constraint, you can than use constraint If variable year = 2022 (for example).


This is little more complicated but should work fine.

EDIT
Ok, so my logic is booom now. You doesn't need to use set variable action. Just create a variable with year you want to be (for example 2022) and then just check if your variable = [year] (magic text).

I have made a feature request about this to make this easier and more straightforward.
 
Last edited:
Top