Search found 2 matches

by golgo
August 9th, 2007, 7:05 am
Forum: Scripts Discussion
Topic: Item : by name ?
Replies: 9
Views: 16326

So I guess to scan the project window you could... n = app.project.numItems; for (m=1; m<n; m++;) { if (app.project.item(m).name =="Label I am Searching For") { //I have found an item in the project window by name. } } Ok, that works fine. But my goal is to select a comp, so how can I do ...
by golgo
August 2nd, 2007, 3:23 am
Forum: Scripts Discussion
Topic: Item : by name ?
Replies: 9
Views: 16326

Item : by name ?

Hello there, first post for me :) The only way to manipulate an Item seems to call it by its index, that represents his alphabetic position in all the project's items, right ??? Is there a way to call an item (a comp for exemple) by it's name, like for a layer ? The use of item index is not fair, li...