How to encrypt a script using Floating Window & BridgeTalk in Illustrator?
Hi everyone,
I’m working on an advanced JavaScript (ExtendScript) file for Illustrator that includes a floating window UI and uses BridgeTalk for communication between UI and drawing logic.
I tried encrypting the script using Adobe ExtendScript Toolkit to convert it to .jsxbin, then wrapped it with eval("...") and renamed it back to .jsx. However, when I tried running it in Illustrator, it didn’t work at all—the script wouldn’t even open.
I suspect the issue might be related to the use of BridgeTalk or the floating window, but I’m not sure.
My goal is to protect/obfuscate this script before distribution, but I’m stuck at this point.
If anyone has experience with encrypting scripts that involve BridgeTalk and floating palettes—please guide me on the best way to do this.
Thanks in advance!
