Javascript equivalent to 'Reveal layer source in project'
Posted: August 12th, 2011, 2:04 pm
Hello All,
Does anyone know the javascript equivalent to 'Reveal layer source in project and be willing to share'?
I've been digging through the normal reading channels and either It's staring me in the face and I'm not seeing it, or I'm just not good enough at this yet...
What I'm trying to do:
Be able to select an AV Layer in the timeline and with one script have it show me the footage's location in Finder
How far I've gotten:
//var getIt = app.project.activeItem.file;
//alert(getIt)
I'm able to get a return of the path of the object by selecting a layer in the Project panel. I know I'm not very close but at this point I'm going in circles. Even a pointer in the right direction would be greatly appreciated.
Thanks
Does anyone know the javascript equivalent to 'Reveal layer source in project and be willing to share'?
I've been digging through the normal reading channels and either It's staring me in the face and I'm not seeing it, or I'm just not good enough at this yet...
What I'm trying to do:
Be able to select an AV Layer in the timeline and with one script have it show me the footage's location in Finder
How far I've gotten:
//var getIt = app.project.activeItem.file;
//alert(getIt)
I'm able to get a return of the path of the object by selecting a layer in the Project panel. I know I'm not very close but at this point I'm going in circles. Even a pointer in the right direction would be greatly appreciated.
Thanks