Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions get suffix of footagefiles and create folders

  • get suffix of footagefiles and create folders

    Posted by Rainier Raydán on October 10, 2017 at 4:40 pm

    Hi! I’m trying to write a script that creates folders by the suffix of footage files.

    Its there anyway to get the suffix of the differents AVfiles (like .ai, .jpg. jpeg, psd….) and then subtract the dot (“.”) from the text so it can create and array to get the folders name without the dot?

    Dan Ebberts replied 8 years, 7 months ago 2 Members · 1 Reply
  • 1 Reply
  • Dan Ebberts

    October 10, 2017 at 5:35 pm

    Like this maybe:

    var s = myFootage.name.split(“.”);
    var myFolderName = s[s.length-1];

    Dan

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy