Skip to main content
Inspiring
May 16, 2024
Answered

Is Socket supported in the PPro ExtendScript environment?

  • May 16, 2024
  • 1 reply
  • 665 views

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?

This topic has been closed for replies.
Correct answer Bruce Bullis

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

1 reply

Bruce Bullis
Bruce BullisCorrect answer
Legend
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

Inspiring
May 16, 2024

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