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

Adobe Illustrator UDP communication

Community Beginner ,
Jun 28, 2018 Jun 28, 2018

Copy link to clipboard

Copied

Possibility.png

In Adobe illustrator is there any possibility to access it layers and children in Qt?

OR

is there any option to communicate between an extended javascript via UDP to a Qt Application?

Cheers

Nidhin

TOPICS
Scripting

Views

552

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
Valorous Hero ,
Jun 28, 2018 Jun 28, 2018

Copy link to clipboard

Copied

Sorry, I am not familiar with any of this, only thing which comes to mind is ExtendScript javascripts can be executed by external programs which causes Illustrator to do work, and also those javascripts can execute external executable files which can bring the control back to other applications in the flow.

I'm not aware of an interface for use with Qt and its UDP protocol, however.

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 ,
Jun 28, 2018 Jun 28, 2018

Copy link to clipboard

Copied

Hi Silly-V

Thanks for the reply. I can't take Illustrator instance in ExtendedScript unless I selected the target as below. If I select this as my target, then Socket is not working. If it is the first option, ExtendedScript toolkit Cc, then UDP is working. I want UDP for Illustrator.

Cheers

Nidhin

Illu_Target.png

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
Valorous Hero ,
Jun 28, 2018 Jun 28, 2018

Copy link to clipboard

Copied

I hope someone who knows more than I on the subject can contribute to this challenging issue.

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
Engaged ,
Jun 29, 2018 Jun 29, 2018

Copy link to clipboard

Copied

Why do you want to use UDP? It's an unreliable transport mechanism, intended for stuff like streaming video where transmission errors are acceptable.

You don't say what OS[es] your app runs on or the complexity of the operations you want to perform, but here's a couple options:

1. Use the OS's native IPC mechanism (Apple events on Mac, COM on Windows) to talk to Illustrator. You'll find the Illustrator API docs at https://console.adobe.io/downloads/ai under 'Scripting'. Look to the Qt docs and community for how to call OS APIs from your Qt app. (e.g. A common solution on Macs is to use QProcess execute an AppleScript via osascript; limited and slow, but sufficient for simple tasks.)

2. Use Adobe's CEP to embed a basic Node.js HTTP server in a custom panel which your app can then talk to same as it would a web service. Example here: https://medium.com/adobetech/how-to-build-a-node-js-server-in-a-panel-ba1d63ea67e2

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 ,
Jun 29, 2018 Jun 29, 2018

Copy link to clipboard

Copied

LATEST

Apologies,

I am using windows 7. I use Adobe ExtendedScript for illustrator side. Not used node.js. I wonder, if I use node.js, can I get the illustrator instance in it.  I don't have huge data to be transferred, only texts and in best case, images.

Cheers

Nidhin

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