Advertisement
Guest User

Untitled

a guest
Jul 19th, 2019
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // Abfrage nach Namen wo Composition "NFL_Trailer_PS" zu finden ist
  2. //Geht im speziellen Adobe Syntax (app.project.x) alle Projektelemente durch und fragt ab ob eines der Items vom Typ CompItem den gesuchten Namen hat. Legt den Fund wenn gefunden in der var "theTrailerPSComp" ab
  3.  
  4. for (i = 1; i <= app.project.numItems; i++){           
  5.         if ((app.project.item(i) instanceof CompItem) && (app.project.item(i).name == "NFL_Trailer_PS")){
  6.             var theTrailerPSComp = app.project.item(i);
  7.         }
  8.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement