-
Adding expression via script – readability question
So i’ve been creating scripts for a while now and a lot of them basically put in expressions to selected layers. But i’ve been having issues with laying out the expression in the scripts. I end up having to compress the expression down into really long “sentences”, with all of the indenting and spacing removed so that the script puts the expression in properly. But I’d like to see the expression in a readable format like I originally wrote it. Is there a way to do this when using a script to add an expression to a parameter of a layer? I’ve attached a screen shot hopefully showing what I’m talking about.
First screenshot shows how I have to write the expression within the script,

second screenshot shows how it was originally written, and how I’d like to be able to see it in the expression on the layer when in AE.
