Hello, everyone! Im trying to do a simple script where it pulls the version number of an app and checks to see if its less than. I dumbed down the script down below. AppleScript only looks at the first number after the decimal place to determine what's greater. In the example below, 4.17.9 is greater than 4.17.10.
Code:
tell application "System Events"
set driverVersion to "4.17.9"
if driverVersion < "4.17.10" then
display dialog "OLDER"
else
display dialog "NEWER!"
end if
end tell