I have 2 MacBook’s each running different version of the operating system but at boot up I would like them to behave slightly differently, can anybody please help me with the necessary macro as I don't understand shell scripts.
I believe the code to find OS version is ”sw_vers -productVersion" but how do I compare this with a text string? Something along the lines of "starts with 10. 14".
**Requires: KM 8.2.4+ macOS 10.11 (El Capitan)+**
(Macro was written & tested using KM 9.0+ on macOS 10.14.5 (Mojave))
#### DOWNLOAD Macro File:
<a class="attachment" href="/uploads/default/original/3X/8/f/8f90857b75d097000fc1bf7d816b8af1c57ca788.kmmacros">Branch Based on macOS [Example].kmmacros</a>
**Note: This Macro was uploaded in a DISABLED state. You must enable before it can be triggered.**
---
<img src="/uploads/default/original/3X/f/9/f941fbb53c0cafcdd9edbc62f761e21b71a41e42.png" width="596" height="1124">
Thank you so much, it works perfectly. I would never have been able to work that out by myself. I now have a second question which maybe more difficult so will raise a new topic.