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

How do I set the default open software for InDesign scripts?

Enthusiast ,
Nov 09, 2021 Nov 09, 2021

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?

TOPICS
How to , Performance , Scripting

Views

473

Translate

Translate

Report

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
Enthusiast ,
Nov 09, 2021 Nov 09, 2021

Copy link to clipboard

Copied

Prompt:

30323.jpg

Votes

Translate

Translate

Report

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
Participant ,
Nov 09, 2021 Nov 09, 2021

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/

Votes

Translate

Translate

Report

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
Enthusiast ,
Nov 09, 2021 Nov 09, 2021

Copy link to clipboard

Copied

I know that.

I want to open it directly in the InDesign window with the default program

Votes

Translate

Translate

Report

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
Participant ,
Nov 09, 2021 Nov 09, 2021

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()

Votes

Translate

Translate

Report

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
Enthusiast ,
Nov 15, 2021 Nov 15, 2021

Copy link to clipboard

Copied

It's useless, like this script:insert 2019.jsx
------------------------------------------------------------------------------
var file = new File('D:/Program Files (x86)/T-Text Tool/VSCode/Code.exe')
file.execute()
app.selection[0].contents = "2019";

Votes

Translate

Translate

Report

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 ,
Nov 10, 2021 Nov 10, 2021

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

 

 

Screen Shot 12.png

Votes

Translate

Translate

Report

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 ,
Nov 15, 2021 Nov 15, 2021

Copy link to clipboard

Copied

LATEST

"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.

 

EditScript.png

 

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 )

Votes

Translate

Translate

Report

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