• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

After Effects: path format of AVLayer->FootageItem->File

New Here ,
May 04, 2018 May 04, 2018

Copy link to clipboard

Copied

I want to read the file string for a footage item.

This string is listed as "FootageItem file attribute" in http://blogs.adobe.com/wp-content/blogs.dir/48/files/2012/06/After-Effects-CS6-Scripting-Guide.pdf?f...

If I import something like:

c:\assets\myfile.png

into my composition, the Data Browser shows:

/c/assets/myfile.png

How does the "c:" get munged into "/c/" and how can I get the original string back? I need to extract this string programmatically and make use of it elsewhere, but I don't want to guess how to "demunge" it.

TOPICS
Scripting

Views

240

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Valorous Hero ,
May 04, 2018 May 04, 2018

Copy link to clipboard

Copied

You'll get more traction and better quality replies by posting in the AE Scripting Forum - After Effects Scripting

Motion Graphics Brand Guidelines & Motion Graphics Responsive Design Toolkits

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
May 05, 2018 May 05, 2018

Copy link to clipboard

Copied

LATEST

It's a normal URI according to ISO. Not sure what else you need to know. Nothing stops you from rewriting your string, but frankly if you can't even handle this simple task, I'm not optimistic you'll ever get a working script.

Mylenium

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines