how to move the text down, which is overlapping on the image..
here iam trying to move the image on particular place and in that place, already i have some text... when i was moved the image to that place. text is overlapping on the image..
i want that text to move down..
using indesign javascript
parainfo();
function parainfo()
{
var doc = app.activeDocument;
var allpara = doc.stories.everyItem().paragraphs.everyItem().contents;
// alert(allpara.length);
var myfirstpara = doc.textFrames[2].paragraphs[0].contents;
// alert( myfirstpara.baseLine);
var img = doc.allGraphics;
var para = doc.textFrames[2].paragraphs[1];
alert(para.contents);
//mydoc.textFrames[4].previousTextFrame = mydoc.textFrames[5];
myString = app.selection[0].parentStory.contents;
//alert(myString);
for(j=0;j<img.length;j++)
{
myFound = myString.match(img
//alert(img
alert(myFound);
if(img
{
img
// mydoc.textFrames[0].move([3,30]);
alert(img
}
else
{
alert(false);
}
}