Actions If - thica/ORCA-Remote GitHub Wiki

if

Useful, if blocks of actions should be skipped/executed on a condition. Does only make sense, if you apply a condition. For each if, there must be an endif. "if" can be nested. You also could use a short form, where the condition is added directly to the string. eg. string="if red!=green"

Attribute Description
string if
A short example:
<action name="if we haven't showed it by now" string="if"  condition="'$var(SHOWINSTALLATIONHINT)'=='TRUE'"/>
<action name="SET Showflag to False" string="setvar SHOWINSTALLATIONHINT=FALSE" />
<action name="Save Status" string="modifyvar" varname="SHOWINSTALLATIONHINT"  operator="save"  parameter1="$var(DEFINITIONNAME)"/>
<action name="show message" string="showquestion" title="$lvar(597)" message="$var(INSTALLATIONHINT)" actionyes="dummy" condition="'$var(INSTALLATIONHINT)'!=''"/>
<action name="" string="endif" />
⚠️ **GitHub.com Fallback** ⚠️