Hey all,
I'm trying to get the filename of some footage items for a script I'm writing. Using app.project.item(index).name gives me the display name from the Project panel but not the actual filename. Generally they are one and the same but occasionally they get changed for one reason or another. Thanks for the help!
Get Source Filename
Moderator: Paul Tuersley
-
- Posts: 320
- Joined: June 26th, 2004, 10:01 am
- Location: Folsom, CA
- Contact:
This should work:
unescape(app.project.item(index).mainSource.file.name)
Dan
unescape(app.project.item(index).mainSource.file.name)
Dan