Skip to main content
dublove
Legend
February 17, 2025
Question

How can I use a script to get the version number and year of the currently open InDesign?

  • February 17, 2025
  • 1 reply
  • 777 views

C:\Users\dublove\AppData\Roaming\Adobe\InDesign\Version 19.0-J\zh_CN\Find-Change Queries\Text
C:\Program Files\Adobe\Adobe InDesign 2024\Scripts\Scripts Panel\Samples

Here only “Version 19.0-J” and “Adobe InDesign 2024” are changing.

It would be good to get the version number of the currently open version.


I've seen a posting that gets the version number, but it seems to be all installed versions.

https://community.adobe.com/t5/indesign-discussions/javascript-how-to-get-indesign-version-number/m-p/10867910

 

Thank you.

1 reply

Robert at ID-Tasker
Legend
February 17, 2025
dublove
dubloveAuthor
Legend
February 17, 2025

How do I get the version number of the current open, and 2024?

dublove
dubloveAuthor
Legend
February 18, 2025

I'm pretty sure, that path to scripts panel should return "19.0-J" - as long as you're running your script from this version. 

 


Next, how to find
Whether the scripts'filename  contain  [Ctrl+Alt+W]  that the directory by "C:\Program Files\Adobe\Adobe InDesign 2024\Scripts\Scripts Panel\Samples\JS.lnk" pointed to .