for loop in a folder on my javascript PC

0

I am currently finding information for an Illustrator script and I need to know how to put a for loop inside a folder on my computer. In after effects what I do is create a simple line

for(var i = 1; i<=app.project.numItems;i++){
    var curItem = app.project.item(i);
}

In this way I look for something among the items in my project. Now my question is, how could I do that in a folder inside my computer? For example in the documents folder. I understand that the route would be something like C: \ Users \ temp2.documents

    
asked by Rainier Raydán 12.06.2017 в 16:16
source

0 answers