action.ExpandExpression

Hi

Can it be true that action.ExpandExpression does not work in Project Global Scripts?

I have just moved a small script from a before action to the Project Global Scripts, it contains a action.ExpandExpression on a variable but it seams that the global script does not know this function.

Is this on purpose or is there another way to expand variables in global script.

 

Br

Martin

ExpandExpression is a method on the Action object (which is a parameter of action script events). You need to pass the action object into your global script function.

Is there another way to expand variables in the global script?
If you like I can email you an example script of what i’m doing.

Br
Martin

No, variable expansion is always handled first by the action, because some actions implement their own variable namespace (action groups).

Thanks I will just pass the entire action object.

/Martin