Copy link to clipboard
Copied
Hi all,
i wrote an extendscript tha I use in a CEP 6 extension first ; as you know I get migrate my CEP extensions from 6 to 9th version. So this track code don't run in InDesign 15.
Does anyone have an idea about this ?
thanks
Americo
///// here is the code
///// what wrong ?
Dear Americo,
What puzzles me right now is that how you are setting your parameters for the function call :
doc.packageForPrint (
to = targetFolder,
copyingFonts = false,
copyingLinkedGraphics = true,
copyingProfiles = true,
updatingGraphics = true,
includingHiddenLayers = true,
ignorePreflightErrors = true, // (Si false et qu'il y a des erreurs preflight, le script ne fait rien.)
creatingReport = false,
includeIdml = false,
includePdf = true,
forceSave = true
)
I would stick to something more about :
doc.pack
...Copy link to clipboard
Copied
Hi,
I have not run your code but I can't see anything that would cause the issue, unless your arguments are not coming in the way you expect and therefore your output path is not correct? or there has been a change to where you can save? I have not used CEP so can't provide much guindance there.
Malcolm
Copy link to clipboard
Copied
Dear Americo,
What puzzles me right now is that how you are setting your parameters for the function call :
doc.packageForPrint (
to = targetFolder,
copyingFonts = false,
copyingLinkedGraphics = true,
copyingProfiles = true,
updatingGraphics = true,
includingHiddenLayers = true,
ignorePreflightErrors = true, // (Si false et qu'il y a des erreurs preflight, le script ne fait rien.)
creatingReport = false,
includeIdml = false,
includePdf = true,
forceSave = true
)
I would stick to something more about :
doc.packageForPrint (
targetFolder,
false,
true,
true,
true,
true,
true, // (Si false et qu'il y a des erreurs preflight, le script ne fait rien.)
false,
false,
true,
true
)
Maybe assigning values inside function call is somehow permitted but I have some doubts here. It's likely the error (if any) wans't thrown through the CEP layered cake.