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

application by default for .jsx file

Explorer ,
Jun 14, 2023 Jun 14, 2023

Hello,
I have a silly issue. I was creating an After Effects script (.jsx) but I oppened it with Notepad++ in a way that windows thought Notepad++ what the aaplication by default to oppen .jsx files.
But I find it disturbing and I want the original application (the one who makes the logo look like a blank paper with jsx on it).

Do you know where this application is ?

PS : I tried with "C:\Program Files\Adobe\Adobe After Effects 2023\Support Files\AfterFX.exe" but now it's the AfterEffects logo.
Thanks a lot for your precious time.

Lenny

TOPICS
Scripting
2.1K
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

correct answers 1 Correct answer

Explorer , Jun 16, 2023 Jun 16, 2023

Ok, thanks both of you for your help ! I will try this.

ps : I don't know if I can do htis myself, but the subject can be closed.

Translate
Community Expert ,
Jun 14, 2023 Jun 14, 2023

Would you check the setting of After Effects preferences?

 

Scripting & Expressions

Allow Scripts to Write Files and Access Network

 

 

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 ,
Jun 15, 2023 Jun 15, 2023

Hi, thank you for your quick answer.

As you can see in the following screen shot, this parameter is still activated. To the left it's the .jsx file that have Ae icon.
image.png
In all the process I described, I didn't touch any parameters in After Effects. I just oppened the .jsx file with notepad++ and made it the application by default, unintentionally.

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 ,
Jun 15, 2023 Jun 15, 2023

The default editor has been the Editor of ExtendScript Toolkit in the past. But this editor is very old and incompatible with some modern operating systems. Therefore, the recommended way to edit jsx files today is using VSCode in combination with Adobe's ExtendScript Debugger extension for VSCode. 

 

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 ,
Jun 15, 2023 Jun 15, 2023

Hi, thank you for your answer.

I'm so sorry, I feel like it doesn't respond to my problem. (Note that english si not my first language and I might not understand what you meant or how good I translated)

To be the clearer : currently my .jsx files look like the "Ae" icon (the screen above), but before I touched anything, it look (by memory) like this :

lennycossard_0-1686863754426.png

And now I want it to be like this again.

I'm pretty sure it have something to do with the application by default, that why I mentionned that in the first place.


Thank you again for your help and your time ! 😃

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 ,
Jun 16, 2023 Jun 16, 2023

I guess your system opened the jsx file, because ExtendScript Editor is not installed on your system anymore and you didn't install VSCode. Install VScode and then set the default for jsx files not to AfterFX.exe ut to VSCode instead. The icon might look different then, but when you double-click the file, it will then be opened with the correct app, which you should use to edit the jsx script file.

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
Community Expert ,
Jun 16, 2023 Jun 16, 2023

Since you're on Windows, if you have ExtendScript Toolkit installed on your machine, it would be here:

"C:\Program Files (x86)\Adobe\Adobe ExtendScript Toolkit CC\ExtendScript Tookit.exe"

If it's not installed, and you want it, you can get the installer here:

https://github.com/Adobe-CEP/CEP-Resources/tree/master/ExtendScript-Toolkit

(the file you want is: AdobeExtendScriptToolkit_4_LS22.exe)

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 ,
Jun 16, 2023 Jun 16, 2023
LATEST

Ok, thanks both of you for your help ! I will try this.

ps : I don't know if I can do htis myself, but the subject can be closed.

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