Search found 6 matches
- August 19th, 2014, 2:35 am
- Forum: Scripts Discussion
- Topic: Create Comps from selected items, collect comps in folder..
- Replies: 3
- Views: 15867
Re: Create Comps from selected items, collect comps in folde
Hi, Your loop won’t work for several reasons. But the main reason is that it’s not a good idea to loop through the items of a project while moving them. By doing that, you’re changing the item index of each object every time the loop is executed. For example: Let’s imagine you have a project...
- July 1st, 2014, 12:27 pm
- Forum: Scripts Discussion
- Topic: The correct use of backward loops
- Replies: 4
- Views: 14671
Re: The correct use of backward loops
Allright, now I clearly understand my mistake. Thank you very much.
- June 29th, 2014, 12:03 pm
- Forum: Scripts Discussion
- Topic: The correct use of backward loops
- Replies: 4
- Views: 14671
Re: The correct use of backward loops
Hi Xavier. Thanks for your help. Now my script works but I still don't really understand why. Here's a copy of the full script: //This script works on ShapeLayers. It converts Masks into Shapes. The converted shapes will be stored in a group, in which a stroke and a fill effect will be added. //I kn...
- June 28th, 2014, 1:35 am
- Forum: Scripts Discussion
- Topic: The correct use of backward loops
- Replies: 4
- Views: 14671
The correct use of backward loops
Hi dear aenhancers, I'm trying to simply remove the selected masks of a layer. So I'm trying to use a backward loop to remove them but so far the script only removes the last item of the array. function theAlert(){alert("Select one or several masks to remove.");return}; var myComp = app.pr...
- December 28th, 2013, 4:22 am
- Forum: Scripts Discussion
- Topic: Store data with one button, paste it with another button
- Replies: 2
- Views: 10048
Re: Store data with one button, paste it with another button
Thanks a lot Xavier, I agree that I don't check a lot, that's because most of the time I'm the only user of my scripts. It took me some time to make your script work, because it seems that the way you declare arrays doesn't work on my old CS4 version. But now it's OK. Once again, the solution was mu...
- December 26th, 2013, 5:05 am
- Forum: Scripts Discussion
- Topic: Store data with one button, paste it with another button
- Replies: 2
- Views: 10048
Store data with one button, paste it with another button
Hello aenhancers, This is my first time I'm posting, so before all I'd like to thank all the contributors for sharing their knowledge and making this forum a great ressource. I've been using AfterEffects for ten years now, but I began to script only this summer, and as I am not a programmer, each ne...