Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Forums Adobe After Effects Expressions Remove source after execution

  • Remove source after execution

  • Scott McGee

    August 9, 2019 at 2:43 pm

    I have my script to import the first item from my folder.
    Once it has been imported another portion from the script is executed, after exporting, I want it to then remove the file from the folder.

    var myImportOptions = new ImportOptions();
    var myFolder = Folder(“Folder path”);
    var myFiles = myFolder.getFiles();

    myImportOptions.file = myFiles[0];

    some forums suggest below, but it’s not removing my file.


    Any suggestions?

  • Scott McGee

    August 9, 2019 at 4:21 pm

    This was my issue

    I forgot to check this box.

    Because I use alerts to flag errors I only came about this, when I removed the alert and it finally told me I needed to check this box.

Viewing 1 - 2 of 2 posts

Log in to reply.

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