FORUMS: list search recent posts

Rename a null in script

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
rob mcgowan
Rename a null in script
on Feb 22, 2017 at 5:16:08 pm

hi, I made a script that makes some nulls. They come out as Null 1 Null2 etc.
How can I rename them please? I tried various things without success.

I tried
myNull.name = "mike the null";
myNull.name.setValue("peter the null");

and also setting sourceText (it didn't work but I can't post the code because I don't remember it exactly).
Thanks


Return to posts index

rob mcgowan
Re: Rename a null in script
on Feb 22, 2017 at 5:20:24 pm

My bad...this is already answered (by Dan) but I didn't find it when looking.
see https://forums.creativecow.net/thread/227/19684

it's just

myNull.source.name="King of the World";


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]