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

v20.4.0.52 ExtendScript Folder.execute() does not work anymore

Community Expert ,
Jun 17, 2025 Jun 17, 2025

Hi together,

as the title says, it seems that:
Folder.execute()

does not work anymore with ExtendScript with the recent version of InDesign 2025 v20.4.0.52.
It still will work with InDesign v20.3.0.

 

Steps to Reproduce:
Execute the following ExtendScript code from the Scripts panel in InDesign 2025 v20.4.0.52:

 

//DESCRIPTION:Show Folder of THIS script
(
function()
{
File($.fileName).parent.execute();
}()
);


The parent folder of the addressed script file will not show in the Finder.

Nothing happens in the Finder of macOS.

 

Expected Result:

The parent folder of the script file should pop up in the Finder.

 

Also watch this discussion at the German InDesign Scripting forum at HilfDirSelbst:
https://www.hilfdirselbst.ch/gforum/gforum.cgi?post=589715#589715

 

What I currently cannot test is InDesign 2025 v20.4.0.52 on a Windows machine.

I hope, that someone else would do this. Thanks!

 

My InDesign is a German one on macOS 12.7.6 on a MacBook Pro M1 ( 16", 2021 ) .

 

Regards,
Uwe Laubender
( Adobe Community Expert )

TOPICS
Scripting
1.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 2 Correct answers

Adobe Employee , Jun 20, 2025 Jun 20, 2025

Hi everyone,

 

I see Laubender has already updated. The InDesign team has released PR build v20.4.1.03 for macOS, which includes fixes for the Folder.execute() and File.execute() issues in ExtendScript. Please test your workflows in this build and let us know if the issues are resolved:
https://adobe.ly/4kP9lrD

If you don't have access to the prerelease builds yet, you can join the program using the links below:
https://adobe.ly/3FXQews
https://adobe.ly/44qiy3S

Note: The Windows build is expected t

...
Translate
Community Expert , Jun 24, 2025 Jun 24, 2025

The update with the bug fixes is now released to the public:

InDesign 2025 v20.4.1 :

Bildschirmfoto 2025-06-24 um 19.53.37.png

 

See also:

https://helpx.adobe.com/indesign/kb/fixed-issues.html#InDesign2021version161

 

Regards,
Uwe Laubender
( Adobe Community Expert )

 

 

Translate
Community Expert ,
Jun 17, 2025 Jun 17, 2025

Thanks Uwe, I can confirm the same issue is present on MacOS 15.5, Indesign 20.4 English localization.

- Mark

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 17, 2025 Jun 17, 2025

I didn't see a bug report, so I've made one. Please vote on it.

- Mark

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 17, 2025 Jun 17, 2025

Hi Mark,

thanks for writing the bug report on InDesign UserVoice.

I did the same on InDesign Prerelease.

And of course, I voted.

 

Thanks,
Uwe Laubender
( Adobe Community Expert )

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 17, 2025 Jun 17, 2025

It works on WIN InDesign version 20.4.

-Manan

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 17, 2025 Jun 17, 2025

Hi Manan,

thank you very much!

Good to know that the Windows version of InDesign 2025 v20.4.0.52 is not affected.

 

Thanks,
Uwe Laubender
( Adobe Community Expert )

 

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
Adobe Employee ,
Jun 17, 2025 Jun 17, 2025

Hi everyone,

Thanks for confirming and discussing this.

I've reached out to the InDesign product team regarding the folder.execute() issue in v20.4.0.52 on macOS and shared the relevant details, including the UserVoice link:
https://adobe.ly/4ncCY83

 

I'll make sure to update this thread as soon as I hear back from them.

Abhishek

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 17, 2025 Jun 17, 2025

It's the same issue with File.execute(). Also not working with InDesign 2025 v20.4.0.52 on macOS.

But it does with InDesign 2025 v20.3.0.

 

Regards,
Uwe Laubender
( Adobe Community Expert )

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
Guide ,
Jun 19, 2025 Jun 19, 2025

Hi Uwe,

 

Are you aware of any workaround through Applescript for both (Folder|File).execute()?

 

Best,

M

 

P. S. I mean, any robust workaround?

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
Guide ,
Jun 19, 2025 Jun 19, 2025
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 19, 2025 Jun 19, 2025

Hi Marc,

just tested a new bug fix version of InDesign downloaded from Prerelease succesfully.

The issues with ExtendScript's (Folder|File).execute() are resolved. Also the one with ExternalObject.

 

This new version should be available the next few days, I think.

 

Regards,
Uwe Laubender
( Adobe Community Expert )

 

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
Adobe Employee ,
Jun 20, 2025 Jun 20, 2025

Hi everyone,

 

I see Laubender has already updated. The InDesign team has released PR build v20.4.1.03 for macOS, which includes fixes for the Folder.execute() and File.execute() issues in ExtendScript. Please test your workflows in this build and let us know if the issues are resolved:
https://adobe.ly/4kP9lrD

If you don't have access to the prerelease builds yet, you can join the program using the links below:
https://adobe.ly/3FXQews
https://adobe.ly/44qiy3S

Note: The Windows build is expected to be posted shortly.

 

Thanks for your continued feedback and testing!

Abhishek 

 

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 24, 2025 Jun 24, 2025

The update with the bug fixes is now released to the public:

InDesign 2025 v20.4.1 :

Bildschirmfoto 2025-06-24 um 19.53.37.png

 

See also:

https://helpx.adobe.com/indesign/kb/fixed-issues.html#InDesign2021version161

 

Regards,
Uwe Laubender
( Adobe Community Expert )

 

 

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 24, 2025 Jun 24, 2025
LATEST

Thanks @Laubender I can confirm it is fixed on my system.

- Mark

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