Copy link to clipboard
Copied
How do I set the default open software for InDesign scripts?
The original default script editor in adobe is not installed. Can't you open it with other software?
Is it extendscript toolkit software?
I don't want to use this. I want to open it with vs Code by default. How to set it?
Copy link to clipboard
Copied
Prompt:
Copy link to clipboard
Copied
You can right-click on the script file in the desktop/folder and choose the default app/open with... and choose vs code.
There is a check box to remember this setting for all files thereafter.
https://helpdeskgeek.com/how-to/how-to-change-the-default-program-to-open-a-file-with/
Copy link to clipboard
Copied
I know that.
I want to open it directly in the InDesign window with the default program
Copy link to clipboard
Copied
hi, you can choose default app and use below code to run your script
var file = new File('full path')
file.execute()
Copy link to clipboard
Copied
Copy link to clipboard
Copied
The original default script editor in adobe is not installed
Hi @dublove, If you are referring to adobe’s ExtendScript Toolkit, it is a 32-bit application and it may be your OS no longer supports 32-bit apps? On OSX you would need OSX Mojave or earlier to run Adobe ESTK, not sure about Windows.
Currently the best 64-bit option is Visual Studio Code with the ESTK extension installed:
https://code.visualstudio.com/docs#vscode
https://marketplace.visualstudio.com/items?itemName=Adobe.extendscript-debug
Copy link to clipboard
Copied
"I want to open it directly in the InDesign window with the default program"
Hi dublove,
do you mean you want to open a script in InDesign's Scripts panel in VS Code directly?
I think this cannot work if the ExtendScript Toolkit App is installed.
I would make it a two-step process:
[1] Show in Explorer
[2] Context menu of the selected file > Execute with VS Code
Regards,
Uwe Laubender
( ACP )