Copy link to clipboard
Copied
i have to resave tons of pic from PDF. I can make AI call opening dialog:
app.open (myName, DocumentColorSpace.CMYK);
but i have to type in dialog page numbers manually. Can i enter a numbers in dialog by script?
thanks
This is solved with the following object's usage:
var openOpts = app.preferences.PDFFileOptions;
openOpts.pageToOpen = 1; // insert your own number here
app.open(File(targetPath));
Copy link to clipboard
Copied
This is solved with the following object's usage:
var openOpts = app.preferences.PDFFileOptions;
openOpts.pageToOpen = 1; // insert your own number here
app.open(File(targetPath));
Copy link to clipboard
Copied
sorry , bother you. do you know how to open pdf that is contains multiple page , and without prompt of select page?
Copy link to clipboard
Copied
Hello @rui huang,
Thanks for reaching out. Would you mind sharing some more details, like the exact version of the OS/Illustrator, and the details of your workflow, so we can better assist you?
Looking forward to hearing from you.
Thanks,
Anubhav
Copy link to clipboard
Copied
I got the answer from other posts, thanks