-
A Script to access Sourcetext
Okay, I was doing OK w/ expressions but for some reason scripts have me a bit messed up…
I’m trying to write a script that accesses:
-a specific comp,
-then a specific text layers character length
-then put this information somewhere else (eg: display this on another text layer, set as x-position of a solid…)So if a string had 100 characters, running the script would tell you it had 100 characters in another textlayer, or it could set the position of a solid layer…I know how to do it w/ expressions, but the problem is that the user of the AE file will want to ‘tweak’ the information after – so I don’t want the information continually updated – they can just run the script once and have get a ‘hint’ of the information and tweak afterwards if they want…
This question is more about basic scripting, accessing specific values (all the example scripts can do fancy things like find a certain string in *all* the text layers of a file, but how do I make it just access a specific comp, specific layer)?
Sorry if I’m confusing, it’s just I thought the transition to scripts would be easier….
-echo