Quantcast
Channel: Adobe Community: Message List - InDesign Scripting
Viewing all articles
Browse latest Browse all 37788

Re: Place snippet script

$
0
0

Am sorry for late reply , thanks that worked , i passed file and  duplicate frame to send geometric bounds and then assinged same geometric bounds to group which fixed my problem .

 

public function PlaceSnippetInFrame(file:File,_frame:Object):void{

            try{               

                myDocument.pages.item(0).place(file);               

                var myGroupObject:com.adobe.indesign.Group=myDocument.groups.item(0);   

                myGroupObject.geometricBounds =_frame.geometricBounds;   

                _frame.remove();            

            }catch(e:Error){

                trace("Error:"+e.toString());

                myLogger.error(e.message);

            }

        }


Viewing all articles
Browse latest Browse all 37788

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>