Copy link to clipboard
Copied
Am I right in saying that Photoshop can't talk to Acrobat? I've tried both via executeScript and BridgeTalk and I can talk to InDesign and Illustrator but not Acrobat (my use case here is joining up PDFs and makePDFPresentation is not working for me there - see my last thread for details).
// try executeScript (works fine for illustrator and indesign but not acrobat)
acrobat.executeScript('alert("hi");'); // don't seem to be able to exectuteScript for acrobat
// try BridgeTalk (works fine for illustrator and indesign but not acrobat)
var myscript = '';
myscript += 'alert("from bt");';
myscript += 'var doc = app.newDoc();';
myscript += 'doc.insertPages({nPage: -1, cPath: "/c/path/to/input.pdf"});';
myscript += 'doc.saveAs("/c/path/to/output.pdf");';
myscript += 'doc.closeDoc(true);';
var bt = new BridgeTalk;
bt.target = 'acrobat';
bt.body = myscript;
bt.send(); // Acrobat doesn't open and nothing seems to happen
Finding docs on whether acrobat is a valid target seems impossible. And if not, why not, and any suggestions for what to try instead?
Copy link to clipboard
Copied
BridgeTalk.getTargets() only gives me "ame,bridge,illustrator,indesign,photoshop,premierpro,switchboard". I'm on CC 2014 on Windows 7. Is Acrobat not/no-longer a valid target?!
Copy link to clipboard
Copied
I wonder if you have tried a stand alone jsx with target acrobat and running it with File.execute(); ?
Copy link to clipboard
Copied
I haven't, but that won't really help me as I need it to be a one-click script from within Photoshop. Am going the InDesign route instead now.