Copy link to clipboard
Copied
Hello,
which function/variable gives me the current installed InDesign version number(s)?
Best regards
Alexander
3 Correct answers
app.version returns the version number of InDesign that your script is running in.
Hi Alexander,
all currently installed versions?
If you need the target strings for all installed InDesign versions you could do:
var allInDesignVersionsInstalled = [];
for( var n=0; n<apps.length; n++ )
{
if( apps[n].match(/^indesign/) )
{
allInDesignVersionsInstalled[ allInDesignVersionsInstalled.length++ ] =
apps[n] ;
};
};
alert( allInDesignVersionsInstalled.join("\r") );
Below an example result from my Windows machine:
Your result could be different.
If you want to get th
...Here I wrote a couple of functions that return InDesign versions in a human-friendly format: e.g "CC 2019" or "2020".
Copy link to clipboard
Copied
Hi,
If you are on a Windows computer, from the Help menu, or on an AppleMac, on the top left, click on on Adobe InDesign.
From there look for the About Adobe InDesign.
Or, I misunderstood your question, and you want the number to appear dynamically in your document?
Copy link to clipboard
Copied
Hey,
I think I should have clarified, that I need the Javascript function for this haha!
Best regards
Alexander
Copy link to clipboard
Copied
app.version returns the version number of InDesign that your script is running in.
Copy link to clipboard
Copied
Great, thank you!
Copy link to clipboard
Copied
Hi Alexander,
all currently installed versions?
If you need the target strings for all installed InDesign versions you could do:
var allInDesignVersionsInstalled = [];
for( var n=0; n<apps.length; n++ )
{
if( apps[n].match(/^indesign/) )
{
allInDesignVersionsInstalled[ allInDesignVersionsInstalled.length++ ] =
apps[n] ;
};
};
alert( allInDesignVersionsInstalled.join("\r") );
Below an example result from my Windows machine:
Your result could be different.
If you want to get the exact version strings you have to open all installed versions by using a target statement and read out app.version.
#target indesign-15.064
app.version // Result: 15.0.1.209
Regards,
Uwe Laubender
( ACP )
Copy link to clipboard
Copied
Thanks a lot!. so maybe i'll assume the ".064" and ".032" means 64bit and 32bit i guess?
Copy link to clipboard
Copied
HI @Laubender
How to get the version number of the current open.
And the year in “Adobe InDesign 2024” or “Adobe InDesign 2025”.
Copy link to clipboard
Copied
@dublove asked: " How to get the version number of the current open.
And the year in “Adobe InDesign 2024” or “Adobe InDesign 2025”. "
Hi @dublove ,
like I said in 2020 above, you get the version with app.version.
And, at least with the recent InDesign versions the year is part of the name of the application.
var appVers = app.version;
var appName = unescape( File( app.fullName ).name );
alert
(
"Version: " + appVers +"\r" +
appName
);
Regards,
Uwe Laubender
( Adobe Community Expert )
Copy link to clipboard
Copied
Thank you very much
Copy link to clipboard
Copied
Here I wrote a couple of functions that return InDesign versions in a human-friendly format: e.g "CC 2019" or "2020".

