I’d like to be able to export a multipage pdf, but as far as I can tell all currently available methods utilise ExtendScript (which I’d like to avoid, being UXP and all that jazz). Am I correct in thinking this? Or have I missed something glaringly obvious?
Bumping because the forum’s been quite active - hopefully someone can shed some light on this for me!
This is what Alchemist logs for me:
{
"_obj": "PDFExport",
"filesList": [
{
"_path": "C:\\...\\1.psd",
"_kind": "local"
},
{
"_path": "C:\\...\\2.psd",
"_kind": "local"
}
],
"to": {
"_path": "C:\\...\\Untitled.pdf",
"_kind": "local"
},
"includeAnnotations": true,
"backgroundColor": {
"_enum": "backgroundColor",
"_value": "white"
},
"as": {
"_obj": "photoshopPDFFormat",
"pdfPresetFilename": "Qualitativ hochwertiger Druck",
"pdfPreserveEditing": false,
"pdfCompressionType": 7
},
}
I think as long as you replace the paths with UXP File entries (or session tokens), that should get you to where need to be… (haven’t had a chance to try it tho)
Thanks for this, although I feel like a proper idiot now!
My first thought was “how did he get Alchemist to generate that?!” - as I’d tried as much but not had any code returned. So I went to have a look and, lo! I had the marketplace version of Alchemist installed rather than the proper one (I have no memory of making this change, but hey ho, it is what it is ).
In a way, I guess you’ve also answered my upcoming question “why Alchemist no work?”