Question
Placing Figures
Hi All,
This is Guna from chennai, I wrote the JavaScript to place the figures automatically on each of te page. But this script will be placing the figures in top of the page. my code is:
var myFolder = Folder("/d/Photos/Links/")
myFiles = myFolder.getFiles("*.tif");
myFiles = myFiles.sort();
//Counting the Files
for (var i = 0; i < myFiles.length; i++) {
var myDocument = app.documents.item(0);
var myPage = myDocument.pages.add()
var myGraphic = myDocument.pages.item(i).place(File(myFiles));
}
Can you any one help me, how to place the these objects in top / left margin position?
Thanks in advance
Gunasekaran
This is Guna from chennai, I wrote the JavaScript to place the figures automatically on each of te page. But this script will be placing the figures in top of the page. my code is:
var myFolder = Folder("/d/Photos/Links/")
myFiles = myFolder.getFiles("*.tif");
myFiles = myFiles.sort();
//Counting the Files
for (var i = 0; i < myFiles.length; i++) {
var myDocument = app.documents.item(0);
var myPage = myDocument.pages.add()
var myGraphic = myDocument.pages.item(i).place(File(myFiles));
}
Can you any one help me, how to place the these objects in top / left margin position?
Thanks in advance
Gunasekaran