How to determine the version of the program and use it in the script?

Hi all.

I have one question: how i can determine the version of the applications (illustrator/indesign or same) and use it in the “tell applicaton” block?

tell application "trucmuche"
set itsVersion to version
end

Yvan KOENIG running El Capitan 10.11.1 in French (VALLAURIS, France) mercredi 18 novembre 2015 10:56:51

The problem is that I do not know the version of the program to tell her “tell aplication version XX”.

I need determine it before.

For example: i can’t tell to Indesign


tell application "Adobe Indesign"
set itsVersion to version
end tell

I need write “Adobe Indesign CC 2015”…

You can use:

 tell application id "com.adobe.indesign"

Hi Shane!

As always “ headshot! Thank you :slight_smile: