Hi Rossd,
MT doesn't have an IF clause to check the active state of a preset. But you can use global variables as flags to work around it:
Code: Select all
PRESET A:
Translator 1: Activate Preset A, set ga
Options: stop=false
Incoming: on activation of this preset
Rules:
ga=1
Outgoing: (none)
Translator 2: Deactivate Preset A, reset ga
Options: stop=false
Incoming: on deactivation this preset
Rules:
ga=0
Outgoing: (none)
PRESET B:
Translator 1: Activate Preset B, set gb
Options: stop=false
Incoming: on activation of this preset
Rules:
gb=1
Outgoing: (none)
Translator 2: Deactivate Preset B, reset gb
Options: stop=false
Incoming: on deactivation this preset
Rules:
gb=0
Outgoing: (none)
Now in order to only execute a given translator when preset b is active, insert this rule into the translator entry:
IF gb = 0 THEN exit rules, skip Outgoing Action
[the logic is the other way around, i.e. "the translator is not executed if preset b is not active]
Now to NOT execute a translator only when preset A is active, insert this rule in to the translator:
IF ga = 1 THEN exit rules, skip Outgoing Action
Hope that helps!
Florian