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

Is Socket supported in the PPro ExtendScript environment?

Explorer ,
May 16, 2024 May 16, 2024

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
652
Translate
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

Translate
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

Translate
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

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

Translate
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

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.

 

Translate
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
LATEST

ECMAScript 6

Translate
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