Copy link to clipboard
Copied
var doc = app.documents[0];
Hi @Hetal5C4C ,
it's perhaps more the 24th page in the document and not simply page 21 ( both could be true of course ), because counting begins with 0. doc.pages[0] or doc.pages.item(0) is the first page in any document.
Test this to call the page by name:
var page = doc.pages.itemByName("23");
Regards,
Uwe Laubender
( Adobe Community Professional )
Copy link to clipboard
Copied
Hi @Hetal5C4C ,
it's perhaps more the 24th page in the document and not simply page 21 ( both could be true of course ), because counting begins with 0. doc.pages[0] or doc.pages.item(0) is the first page in any document.
Test this to call the page by name:
var page = doc.pages.itemByName("23");
Regards,
Uwe Laubender
( Adobe Community Professional )
Copy link to clipboard
Copied
Whoa.. great..
It's works by calling the page by Name.
Thanks.