Macs in Chemistry

Insanely Great Science

Comparing version number in applescript

I'm in the process of updating iBabel and one of the things I'm adding is the option to use some of the newer tools now available in the latest version of OpenBabel. However some users prefer not to live on the bleeding edge and want to continue to use the older version of OpenBabel so I'd like to only have the tool options available for which ever version of OpenBabel they have installed. Using the applescript command "considering numeric strings" it is possible to compare version numbers of applications. Full details are here "Comparing version Numbers".
blog comments powered by Disqus