Search found 6 matches

by SundancePioneer
February 17th, 2020, 6:09 am
Forum: Scripts Discussion
Topic: Determine type of property?
Replies: 1
Views: 4443

Re: Determine type of property?

I actually overlooked

Code: Select all

Property.propertyValueType

, which seems to do most of what i want.

If anyone has an idea how to drive third party custom properties that fall out of this range, i'd greatly appreciated any help :)

Thanks

Sundance

by SundancePioneer
February 17th, 2020, 5:56 am
Forum: Scripts Discussion
Topic: Determine type of property?
Replies: 1
Views: 4443

Determine type of property?

Hey there, i am currently working on a Script where it would be very helpful to determine the "type" of the selected property - is it a Slider, Dropdown, Layer Control, Point Control, etc. - the biggest problem might be that i want it to work for third party tools as well (best case). Is there a way...
by SundancePioneer
January 23rd, 2018, 6:56 am
Forum: Scripts Discussion
Topic: Use the currently selected property in Script
Replies: 1
Views: 3527

Use the currently selected property in Script

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 v...
by SundancePioneer
January 19th, 2018, 10:23 am
Forum: Script requests
Topic: Script to apply expression to all "Color" properties on selected layer
Replies: 1
Views: 9161

Script to apply expression to all "Color" properties on selected layer

Dear masterminds, i am currently creating a template to be reused by a small collective of motion designers. I need a small script that will apply a specified expression to any "Color" Property on the selected shape layer - so basically it would have to iterate through all of the properties and find...
by SundancePioneer
May 19th, 2017, 2:57 pm
Forum: Expression Discussion
Topic: Access path keyframe value via Expression
Replies: 1
Views: 8048

Access path keyframe value via Expression

Hi folks, i'm currently trying to find a way to animate between different keys on a path (mouth shapes). Is there a way to use, for example, the linear expression to control the animation between for example key(1) and key(5) without showing the other keys inbetween? I want to be able to animate bet...
by SundancePioneer
February 28th, 2017, 4:15 am
Forum: Expression Discussion
Topic: Measure text layer with sourceRectAtTime()
Replies: 1
Views: 8936

Measure text layer with sourceRectAtTime()

Hey folks, i'm currently trying to wrap my head around using the sourceRectAtTime() expression to measure any given text layer (selected using layer control) to create a text box.  The basic functionality works fine, i can create a shape with the exact dimensions. But the positioning of the shape la...