Activity › Forums › Adobe After Effects Expressions › Only Set Variable When Condition is True, then Freeze Variable Value
-
Only Set Variable When Condition is True, then Freeze Variable Value
Bryce Poole replied 11 years, 10 months ago 2 Members · 13 Replies
-
Bryce Poole
October 21, 2014 at 11:39 pmHey Dan,
That looks great, I think that will do exactly what I’m looking for. However I’m having an issue with inserting quote characters, I’m starting my table at 32 to allow spaces and some common symbols to be used.
However, when I get to spots 34 or 39 (either of the quote characters) the script breaks, is there a way I can selectively escape these out? -
Dan Ebberts
October 22, 2014 at 12:04 amI think you can just use a backslash for the one you’re using to enclose the string. So for ” it would be like this:
myStr = ” !\”#$%&'()*+,-./”;
Dan
-
Bryce Poole
October 22, 2014 at 4:08 pmDan, thank you very much this is brilliant! I think this will do exactly what I am looking for, thank you again for your help!
Reply to this Discussion! Login or Sign Up