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

Convert JSX files to JSXBIN with NPM package

Explorer ,
Jul 01, 2021 Jul 01, 2021

Hi,
I'm developing an extension with CEP panel for After Effects.
The application it's working normally, but when I convert to .jsxbin it won't work.
I'm using the jsxbin npm package.
There are any requirements or proper ways of converting the files to .jsxbin to use with the host application?


Thanks in advance. 

TOPICS
Error or problem , Expressions , How to , Scripting
1.6K
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
Community Expert ,
Jul 04, 2021 Jul 04, 2021

Does it work if you create the jsxbin files manually (with the VSCode plugin)?

I am not sure if jsxbin is supported for CEP officially at all.

Mathias Möhl - Developer of tools like BeatEdit and Automation Blocks for Premiere Pro and After Effects
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 ,
Jul 04, 2021 Jul 04, 2021

Seems to work if you create and declare inside an eval() call, like using the TextToJsxbin VS Code plugin. 
But the raw jsxbin seems not to work.

I've checked up some third-party CEP extensions that I have installed, and some have .jsxbin files.
Now I'm trying to create with the VS Code Debugger plugin, but with an automated gulp task
And I'm not sure, but I believe that can be some .jsxbin versioning issue. 






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 ,
Jul 05, 2021 Jul 05, 2021

Well, 
I tried with the VS Code extension also and still won't work.  =/

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
Community Expert ,
Jul 05, 2021 Jul 05, 2021

Then I guess jsxbin is not supported in CEP (unless maybe with your eval workaround).

Mathias Möhl - Developer of tools like BeatEdit and Automation Blocks for Premiere Pro and After Effects
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 ,
Jul 05, 2021 Jul 05, 2021

The weird thing I that if I execute the jsxbin from the VS Code, it works.
But from within the After Effects don't work.

I tried obfuscation also, but without success.

 

So, since I want to sell my extension, how do I protect the code?

It's usual or common to use some kind of licensing key-gen?

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
Community Expert ,
Jul 05, 2021 Jul 05, 2021
LATEST

I sell my extensions on aescripts and they have their own licensing system that you can use if you sell on their store. I cannot say anything about the technical details of that system publicly.

Mathias Möhl - Developer of tools like BeatEdit and Automation Blocks for Premiere Pro and After Effects
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