Page 1 of 1

display filname of source-footage & timeline sourcelist

Posted: November 2nd, 2006, 2:50 pm
by Sikkerhet
I just started to work with expressions and now have two questions:

I'm working on a project with time lapse images. Every image is named with date and time. I want the date of the image being displayed.
The images are in several compositions.

I was successful in reading and displaying the filename within the composition with:

text.sourceText=thisComp.layer(1).source.name

I also can imagine something like

with (i=1; i<=thisComp.numLayers; i++) {
text.sourceText=thisComp.layer(1).source.name
}
But I have to do it for every composition. Is there an easier way?

Something globally like:
text.sourceText=masterComp.imageBeingDisplayed.name

Second question:
When the project has been finished I would like to have a precise list of all images being used, duration transition... for a visulization:

Image Duration Transition
20060914.jpg 10 frames 4frames
20060915.jpg 10 frames ............

I can imagine that it is possible but I expect something difficult. Before I start working on that I just would like to know if it is possible. It would be great to get some considerations about conceivable solutions.
Best regards
Martin

Re: display filname of source-footage & timeline sourcel

Posted: January 3rd, 2007, 11:33 am
by lloydalvarez
Sikkerhet wrote: I was successful in reading and displaying the filename within the composition with:

text.sourceText=thisComp.layer(1).source.name

I also can imagine something like

with (i=1; i<=thisComp.numLayers; i++) {
text.sourceText=thisComp.layer(1).source.name
}
But I have to do it for every composition. Is there an easier way?

Something globally like:
text.sourceText=masterComp.imageBeingDisplayed.name
expressions are not global. You'll have to do in on a comp per comp basis, but you can write a simple script to do this for you.

-lloyd