Joel Corkin
Forum Replies Created
-
Joel Corkin
September 21, 2005 at 7:01 pm in reply to: [expression? script?] Display Project File NameThanks Mylenium, I’ll look into it.
-
Joel Corkin
September 21, 2005 at 7:01 pm in reply to: [expression? script?] Display Project File NameThanks Mylenium, I’ll look into it.
-
Joel Corkin
September 20, 2005 at 6:51 pm in reply to: Expression for displaying currently displayed footage name?Okay, first, sorry for so many follow-up posts, but I figured out a way to make this work while disregarding certain other layers, like other text layers that span the whole comp for example.
I added &&!L.hasParent into Dan’s code and then created a null layer with visibility off, which I used as the parent to whatever other text layers I want to add to the comp. This way the other text layers can span the comp without interfering with the footage name display.
The modification of Dan’s code is below. If anyone has a better way than this, please post it.
txt = “”;
for (j = 1; j <= thisComp.numLayers; j++){ if (j == index) continue; L = thisComp.layer(j); if (! (L.hasVideo && L.active &&!L.hasParent)) continue; if (time >= L.inPoint && time < L.outPoint){ try{ txt = L.source.name; }catch(err1){ txt = L.name } break; } } txt; -
Joel Corkin
September 20, 2005 at 6:51 pm in reply to: Expression for displaying currently displayed footage name?Okay, first, sorry for so many follow-up posts, but I figured out a way to make this work while disregarding certain other layers, like other text layers that span the whole comp for example.
I added &&!L.hasParent into Dan’s code and then created a null layer with visibility off, which I used as the parent to whatever other text layers I want to add to the comp. This way the other text layers can span the comp without interfering with the footage name display.
The modification of Dan’s code is below. If anyone has a better way than this, please post it.
txt = “”;
for (j = 1; j <= thisComp.numLayers; j++){ if (j == index) continue; L = thisComp.layer(j); if (! (L.hasVideo && L.active &&!L.hasParent)) continue; if (time >= L.inPoint && time < L.outPoint){ try{ txt = L.source.name; }catch(err1){ txt = L.name } break; } } txt; -
Joel Corkin
September 20, 2005 at 6:31 pm in reply to: Expression for displaying currently displayed footage name?Perhaps there is some way tell AE to do either of the following in the case of wanting to use additional text layers in your comp:
– Disregard any other layer if it is a text layer
or
– Disregard all layers above the layer to which you are applying this particular sourceText code.Any thoughts?
-
Joel Corkin
September 20, 2005 at 6:31 pm in reply to: Expression for displaying currently displayed footage name?Perhaps there is some way tell AE to do either of the following in the case of wanting to use additional text layers in your comp:
– Disregard any other layer if it is a text layer
or
– Disregard all layers above the layer to which you are applying this particular sourceText code.Any thoughts?
-
Joel Corkin
September 20, 2005 at 6:07 pm in reply to: Expression for displaying currently displayed footage name?I figured out that this code only works if you have one text layer in your comp. Anyone know how it could work while other text layers are present? Dan?
Thanks!
-
Joel Corkin
September 20, 2005 at 6:07 pm in reply to: Expression for displaying currently displayed footage name?I figured out that this code only works if you have one text layer in your comp. Anyone know how it could work while other text layers are present? Dan?
Thanks!
-
Joel Corkin
September 20, 2005 at 6:56 am in reply to: Expression for displaying currently displayed footage name?Sorry, I am trying to get this to work, but am having some trouble. Don’t I just need to paste Dan’s code into an expression for the SourceText property of a text layer?
-
Joel Corkin
September 20, 2005 at 6:56 am in reply to: Expression for displaying currently displayed footage name?Sorry, I am trying to get this to work, but am having some trouble. Don’t I just need to paste Dan’s code into an expression for the SourceText property of a text layer?