AppleScript doesn’t depend on preferences, therefore the most reliable solution is probably to get the extension of the path and then to check whether the name has the same extension.
AppleScript doesn’t depend on preferences, therefore the most reliable solution is probably to get the extension of the path and then to check whether the name has the same extension.