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

Is Socket supported in the PPro ExtendScript environment?

Explorer ,
May 16, 2024 May 16, 2024

Copy link to clipboard

Copied

When I try to implement the example from the documentation: https://extendscript.docsforadobe.dev/external-communication/socket-object.html
I encounter the following error:

Exception has occurred: 22
  • Socket does not have a constructor

 

I know I can do this from the HTML/Javascript client side but since this was "advertised" in the documentation I was thinking it should be possible. Is there an ExternalObject library that I need to load to make it available?

TOPICS
Error or problem , SDK

Views

111

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

correct answers 1 Correct answer

Adobe Employee , May 16, 2024 May 16, 2024

I've not heard of a successful usage of Sockets from within PPro ExtendScript, and recommend doing that at the JavaScript level. 

Having said that...

This seems potentially useful/relevant:

https://community.adobe.com/t5/after-effects-discussions/extendscript-and-socket-servers/m-p/2612469

Votes

Translate

Translate
Adobe Employee ,
May 16, 2024 May 16, 2024

Copy link to clipboard

Copied

I've not heard of a successful usage of Sockets from within PPro ExtendScript, and recommend doing that at the JavaScript level. 

Having said that...

This seems potentially useful/relevant:

https://community.adobe.com/t5/after-effects-discussions/extendscript-and-socket-servers/m-p/2612469

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
Explorer ,
May 16, 2024 May 16, 2024

Copy link to clipboard

Copied

Thanks for the quick reply. I think I'll just go with the JavaScript level. 

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
Explorer ,
May 16, 2024 May 16, 2024

Copy link to clipboard

Copied

On a related note: what ECMAScript version can be expected for the Javascript side of things on the latest release of PPro? I've detected ES7 level support with my current setup but I'm not sure if that's a reliable assumption across operating systems and recent versions.

 

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
Adobe Employee ,
May 16, 2024 May 16, 2024

Copy link to clipboard

Copied

LATEST

ECMAScript 6

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