• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

BridgeTalk or executeScript from Photoshop to Acrobat not working?

Community Beginner ,
Mar 18, 2015 Mar 18, 2015

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?

TOPICS
Actions and scripting

Views

402

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
Community Beginner ,
Mar 18, 2015 Mar 18, 2015

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?!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Mar 18, 2015 Mar 18, 2015

Copy link to clipboard

Copied

I wonder if you have tried a stand alone jsx with target acrobat and running it with File.execute(); ?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Mar 19, 2015 Mar 19, 2015

Copy link to clipboard

Copied

LATEST

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines