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

Re: Refreshment problem when place image.

$
0
0

Dear Bill,

 

Can you please insert the this line.

 

 

#target indesign
var myDocument=app.activeDocument;        //Active document have 10 spread with text framefor(int i=0; i<10;i++){
$.sleep(1000);
 var ImagePath="D:\Indesign\" + i + ".indd";         // There are 0.indd to 9.indd, 10 image in "D:\Indesign\"
var myTextFrame=myDocument.spreads.item(i).textFrames.firstItem();
$.sleep(1000);
myTextFrame.place(File(ImagePath)); // ImagePath is path of image}

 

May be this will help to you.

 

thx,

csm_phil


Viewing all articles
Browse latest Browse all 37788

Trending Articles



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