Skip to main content
Alexandre Becquet
Community Expert
Community Expert
January 5, 2022
Answered

How open a JSXbin file to modify an Indesign Script?

  • January 5, 2022
  • 3 replies
  • 8432 views

Hello everyone, i'm new in the script world and i would like to know how i can open, see and modify a JSXBIN file.

I'm using visual Studio code with all extensions for Adobe but if i open the Jsxbin file i've only numbers & letters. Maybe it's a wrong setup on my side or something like that
No problems with jsx files and others but for JsxBin i'm loosing my mind 🙂 

 

I'm on MacOS Monterey 12.1 on MBP M1 MAX & MacPro 2019

This topic has been closed for replies.
Correct answer Laubender

Hi Alexandre,

jsxbin files are made for the purpose that they should be not editable.

If you are the author of the script, go back to the jsx version of the code and do the edits here.

If you are not the author of the script ask the author to do the modifications.

 

Regards,
Uwe Laubender

( ACP )

3 replies

Participant
September 1, 2022

I authored a fast decompiler to reverse the encoding. It parses each instruction and recovers the equivalent JavaScript (ECMAScript 3) AST.

 

[link removed by moderator]

Peter Kahrel
Community Expert
Community Expert
September 6, 2022

@Angelo259186834x6x 

You shouldn't have posted that link. Script writers protect their code for a reason.

Please remove the link.

Community Expert
January 5, 2022

To add to what @Laubender rightly said. Depending upon the nature of the change you might be able to integrate the jsxbin code within your own code. Like for example your code changes the document in a certain way let's say switches off the layer visibility based on some criteria and then called the functionality of the jsxbin to do the rest of the magic. Likewise you could do some needed post processing as well.

-Manan

-Manan
LaubenderCommunity ExpertCorrect answer
Community Expert
January 5, 2022

Hi Alexandre,

jsxbin files are made for the purpose that they should be not editable.

If you are the author of the script, go back to the jsx version of the code and do the edits here.

If you are not the author of the script ask the author to do the modifications.

 

Regards,
Uwe Laubender

( ACP )

Alexandre Becquet
Community Expert
Community Expert
January 5, 2022

That's what I thought but I preferred to ask for correct information.

 

Thanks a lot @Laubender