How to know the order of selected effects??

Find out why the . goes before the /

Moderator: Paul Tuersley

Post Reply
bkan
Posts: 51
Joined: November 6th, 2013, 8:33 am

Hello,
Is it possible to know the order of selected effects?
I tried this but it's not in the good order :

var activeItem = app.project.activeItem;
var selectedLayers = activeItem.selectedLayers;
var selectedEffects = selectedLayers[0].selectedProperties;
for (i = 0; i < selectedEffects.length; ++i) { // stagger time marker
currentEffect = selectedEffects;
alert(currentEffect.name);
}

I know it works for layers, but it seems not working for selectedProperties,

Thanks
Post Reply