Copy link to clipboard
Copied
Hi!
I’m coding some servers for After Effects and I encountered a problem.
On windows os everything goes smooth but I’m having some trouble using the same code on a mac.
I narrowed down the issue to the socket listen() function
Here is a small part of a code that returns “true” on a PC but returns “false” on a Mac:
conn = new Socket();
alert (conn.listen(8080))
Any help would appreciated!
Copy link to clipboard
Copied
Having the same issue. Did you find out how to fix that?
Copy link to clipboard
Copied
Unfortuletly not...
Aperrently Mac OS does not support es3 ExtendScript fully anymore (socketwise)
So I moved to CEP panels coding - that can incorperate NodeJS and now it is possible to use sockets in more stable manner across OS platforms.
This is what made Render Brain possible- for network rendering in After Effects.
I hope this help
Cheers!
Copy link to clipboard
Copied
Thanks a lot. I wanted a start-up script to listen for data from me. I guess it's impossible to write a start-up script in node?
Copy link to clipboard
Copied
If you create an extension you can load it automatically when app loads up (same as startup folder script) by using the:
<Event>applicationActivate</Event>
in the extension xml file.
Copy link to clipboard
Copied
But in this case, the extension must be installed before that. But thanks a lot for the hint!
Copy link to clipboard
Copied
Yes, The extension needs to be installed to achive that.
You're welcome!