Re: ExtendScript: How to create a sequence directl… – Adobe Community


I have tried this: 

app.setProjectViewSelection([initialBin], viewIDs[0]);

 

I must clarify that this is only extra visible when in Icon view. The above code works, as I can see when in List view that it selects the projectItem referred to by “initialBin”. However, in Icon view where initialBin is not visible, there won’t be any noticeable change.

 

My intention is to keep the view where it originally was. For example, if my initial bin is Untitled.prproj\Bin1, then I run the batch operations which creates Untitled.prproj\Bin1\Bin2 and a sequence that the SDK places in the rootItem, which causes the view jump when in Icon view. Even with the sequence.projectItem.moveBin() performed, the view stays on the rootItem.

Ideally, I want it to stay in Untitled.prproj\Bin1 during the whole operation and not have any visible movement when in the Icon view. Otherwise, it may be good enough if I can move back from where the initial bin/view was.



Source link

Leave a Comment