Differences with mode of target app

Hi,

probably the question has been already discussed but cannot find it in the forum.

I would like to know if there are differences targeting the app in these two modes:

tell application id “com.adobe.Indesign”
set inddVersion to version
end tell

or the classic

tell application “Adobe InDesign CS5”
set inddVersion to version
end tell

I ask this because in my environment user can have multiple version of INDD.
Until now I have always compiled the app (ASS Studio or ASOC) with the classic mode "tell application “Adobe InDesign CS5” or other version creating the app with the correct INDD version installed.
In case the app must be used with different INDD versions I usually recompile the app testing all the features with the right indd version.

To solve the problem of multiple INDD version I always do check about version during the process because adobe can change “something” between versions.

Any other suggestion or tricks?

Ame

Model: MacPro Dual Intel Xeon
Browser: Safari 536.30.1
Operating System: Mac OS X (10.7)

The main difference between the two forms is what happens when someone runs them and the app can’t be found: the old version brings up the find-app dialog, but the new version simply generates an error, which can be trapped with a try block.

InDesign gives you the option to set the scripting version, to ease most of the problems, and it lets you publish dummy terminology apps you can use for compiling. It’s covered in their scripting docs.