Copy link to clipboard
Copied
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 )
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
...The update with the bug fixes is now released to the public:
InDesign 2025 v20.4.1 :
See also:
https://helpx.adobe.com/indesign/kb/fixed-issues.html#InDesign2021version161
Regards,
Uwe Laubender
( Adobe Community Expert )
Copy link to clipboard
Copied
Thanks Uwe, I can confirm the same issue is present on MacOS 15.5, Indesign 20.4 English localization.
- Mark
Copy link to clipboard
Copied
I didn't see a bug report, so I've made one. Please vote on it.
- Mark
Copy link to clipboard
Copied
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 )
Copy link to clipboard
Copied
It works on WIN InDesign version 20.4.
-Manan
Copy link to clipboard
Copied
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 )
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
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 )
Copy link to clipboard
Copied
Hi Uwe,
Are you aware of any workaround through Applescript for both (Folder|File).execute()?
Best,
M
P. S. I mean, any robust workaround?
Copy link to clipboard
Copied
Copy link to clipboard
Copied
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 )
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
The update with the bug fixes is now released to the public:
InDesign 2025 v20.4.1 :
See also:
https://helpx.adobe.com/indesign/kb/fixed-issues.html#InDesign2021version161
Regards,
Uwe Laubender
( Adobe Community Expert )
Copy link to clipboard
Copied
Thanks @Laubender I can confirm it is fixed on my system.
- Mark
Find more inspiration, events, and resources on the new Adobe Community
Explore Now