accessing expressions from scrpts
Posted: June 26th, 2008, 1:38 am
Hi,
I'm looking for a way to quickly replace a lot of layer references in expressions to another layer. I know javascript, and the AE help provides information on AE methods. But I did not find information on accessing/editing expressions.
Is this possible? I'd like to use app.project.activeItem.selectedLayers to traverse all properties with expressions, and go javascript replace() on it for a regular expression find-and-replace.
I'm looking for a way to quickly replace a lot of layer references in expressions to another layer. I know javascript, and the AE help provides information on AE methods. But I did not find information on accessing/editing expressions.
Is this possible? I'd like to use app.project.activeItem.selectedLayers to traverse all properties with expressions, and go javascript replace() on it for a regular expression find-and-replace.