adding a tracking property

Find out why the . goes before the /

Moderator: Paul Tuersley

Post Reply
Shinjipierre
Posts: 36
Joined: December 4th, 2004, 10:10 am

Code: Select all

defaultProperties = Currentlayer.property("ADBE Text Properties").property("ADBE Text Animators").property("Space correct").property("ADBE Text Animator Properties");
defaultProperties.addProperty("ADBE Text Fill Color");
I got these 2 lines by watching paul turley's ssa -> after effects script

I want to get the Tracking property instead of the Fill color one.
I've tried
addProperty("ADBE Text Tracking")
addProperty("ADBE Text Tracking Type")
addProperty("ADBE Text Tracking Amount")

none of them work...
User avatar
redefinery
Posts: 112
Joined: April 1st, 2005, 8:16 pm
Location: CA
Contact:

Shinjipierre wrote:I want to get the Tracking property instead of the Fill color one.
I've tried
addProperty("ADBE Text Tracking")
addProperty("ADBE Text Tracking Type")
addProperty("ADBE Text Tracking Amount")

none of them work...
You don't need "ADBE Text Tracking".

The "ADBE Text Tracking Amount" should work, but for Tracking Type use "ADBE Text Track Type". The code you're referencing uses the internal property match names, which aren't always spelled the same as the displayed names.

If you need to determine the internal match names for any property, and you're using AE 7, I've written a couple of scripts to help:

rd: Gimme Props - dumps the property hierarchy for the selected layer
rd: Gimme Prop Path - displays the script code to access a selected property

Jeff
Shinjipierre
Posts: 36
Joined: December 4th, 2004, 10:10 am

Oh thanks, I didn't know about that script.

It's the freaking useful
Post Reply