3 Replies Latest reply on Sep 11, 2017 12:53 AM by lewiscc

    script to move and copy an object with opacity mask

    lewiscc Level 1

      I have script which can help me to move and copy an object, but I just found that it can not copy the object with opacity mask.

      it is there anyone have any idea to solve this problem.

      maybe we can used adobe action, but it only can copy 1 time, however, usually  we need copy more than 10 times..

       

      function dup(sel,item,qty,tran1,tran2){  
        for (var i=0; i<[qty]; i++){  
        sel[item].duplicate();  
        sel[item].translate(tran1,tran2);  
        }