Parentheses changed to brackets

DeRoc

2011-11-19 07:18:55

This might be related to the problem you fixed a couple of years ago http://www.bome.com/forums/viewtopic.php?f=4&t=2520

In the "Outgoing Action Preset Change", setting Activate/Deactivate by Name works EXCEPT for "(always active)". I noticed the parenthesis is translated to a "quoted-bracket" after the action occurs, as follows from the log.

Using By Number: <-- works normally
  • OUT 3.0: deactivate preset number 0
    Deactivated preset: (always active) <-- parentheses
    OUT 3.1: deactivate preset "ON"
    Deactivated preset: ON
Using By Name selected from the drop-down box:
  • OUT 3.0: deactivate preset "[always active]" <-- brackets and quotes appear
    Cannot find preset named "[always active]"
    OUT 3.1: deactivate preset "ON"
    Deactivated preset: ON
Using By Name manually typed in the box:
  • OUT 3.0: deactivate preset "[always active]" <-- brackets and quotes appear
    Cannot find preset named "[always active]"
    OUT 3.1: deactivate preset "ON"
    Deactivated preset: ON
Had me stumped for a while.
I love MT and use it for everything! :D

MT v1.71 on Win7 x64.

florian

2011-11-19 10:39:10

interesting! seems to be an old thing remaining.

The new way for making a preset "always active" is by looking at its properties (right-click on the preset, then "Properties") and checking "always active". The name of the "always active" presets does not matter anymore, and you can check "always active" in the properties of multiple presets.

So, a fix is to rename your preset to e.g. "always active" without parenthesis, or "init", or "master preset" and check "always active" in the properties. Then you can also activate and deactivate it from an outgoing action. Only the particular name "(always active)" can cause problems because it used to be a magic name.

I will fix this in the Windows version.

Regards,
Florian

DeRoc

2011-11-19 16:03:56

Ok great!! I never realized that name was allowed to change!
And neither have I ever right-clicked on a preset; always concentrated on the translators.
Thanks for the quick reply - all running well now.