Detect Version of Application

This is indeed not possible.
I recommend to use a script bundle or application bundle, create separate compiled scripts for the different versions and put them into the bundle.
Then load the appropriate script into the main script depending on the version number

I suspected that it was not possible…

I did think of making sort of a launcher app that would kick off one of 2 separate scripts, but that would be 3 separate files for each script. I like your idea of bundling it all together so it would look like a singe app to the user. Haven’t done that before but I will figure it out.

I also have XCode apps with the same issue but I will work on a similar approach.

Thanks for your advice. That gives me some direction.

-Matt