Hi folks,
i want to create a script that applies an expression to the currently selected (color) property.
How can i use the currently selected property in a script? The path is always different, because a color value can sit in different groups/depths.
How can i set the currently selected color value as var so i can reuse it to apply the expression?
Thanks in advance
Greetings
Sundance
Use the currently selected property in Script
Moderator: Paul Tuersley
-
- Posts: 33
- Joined: February 7th, 2005, 7:32 am
- Contact:
Code: Select all
var output = "Selected properties:\n";
for(prop in properties = app.project.activeItem.selectedProperties){
output += properties[prop].name+" ("+properties[prop].matchName+")\n";
}
alert(output);
Boom boom boom.