Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot open Adobe Indesign #4

Open
papuruth opened this issue Feb 12, 2020 · 8 comments
Open

Cannot open Adobe Indesign #4

papuruth opened this issue Feb 12, 2020 · 8 comments

Comments

@papuruth
Copy link

papuruth commented Feb 12, 2020

Hi, I have a problem here I am unable to open Adobe Indesign it gives an error saying broadcast is not a function.

Also if I do like this code below the app is launched

     app: {
       name: AdobeAppName.Photoshop,
       path: 'C:\\Program Files\\Adobe\\Adobe InDesign 2020\\InDesign.exe',
       adobeScriptsPath: 'C:\\Users\\d-Evil\\scripts'
     },
     host: 'localhost',
     port: 5000
   });

but there is an error saying cannot open the file open_app.jsx, Adobe Indesign may not support the file-format.
image

@rkamysz
Copy link
Owner

rkamysz commented Feb 12, 2020

Hi I will check that.

@rkamysz
Copy link
Owner

rkamysz commented Feb 12, 2020

You can check branch issues-2 and link it to your project. Ive added InDesign broadcast method so you can replace

app: {
       name: AdobeAppName.Photoshop, ---> AdobeAppName.InDesign
...

Im also getting this error on trial. I dont know is it because of the trial version. Do you know how to run any custom scripts with InDesign?

@papuruth
Copy link
Author

Thanks, I checked it. I did what you have done.
I checked running the open_app.jsx from window cmd it doesn't pop any error.
But in network panel the server listens on 5000. I guess it just false error.

@rkamysz
Copy link
Owner

rkamysz commented Feb 20, 2020

Hi, I will check it again, just need time, Can't promise anything

@rkamysz
Copy link
Owner

rkamysz commented Feb 25, 2020

Hi @papuruth ,Sorry I had no time and Im not sure if I can use InDesign now (trial). Which command did you use to run this open_app.jsx?

@rkamysz
Copy link
Owner

rkamysz commented Mar 31, 2020

Hi @papuruth Ive added BridgeTalk but without adobe App so Im dont know if it works please check it on bridge-talk branch. Clone it then run tsc && npm pack then install it in your node app via npm i ...path_to/adobe-node-1.1.4.tgz

Please let me know if it works or help me with that due to my lack of time and Adobe licenses :D

@shchoi82
Copy link

shchoi82 commented Nov 9, 2020

Hi
the Adobe Illustrator does not start

const app: AdobeApp = newAdobeApp({
    app: {
        name: AdobeAppName.Illustrator,
        path: '/Applications/Adobe Illustrator 2021/Adobe Illustrator.app',
        // path: '/Applications/Adobe Illustrator 2021/Adobe Illustrator.app',
        adobeScriptsPath: '/Applications/Adobe Illustrator 2021/Presets.localized/ko_KR/스크립트',
        // adobeScriptsPath: '/Applications/Adobe Photoshop CC 2019/Presets/Scripts'
    },
    host: 'localhost',
    port: 5000
});

I did
change the access/permissions settings to the directory set in the adobeScriptsPath

@rkamysz
Copy link
Owner

rkamysz commented Nov 9, 2020

Hi @shchoi82, It's been a while, I will have to look at the code but the problem is I don't have Adobe software (I have no plans to buy one). I think we would have to pair on that. Maybe try to add some logs, check if exec is executing etc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants