Here is one that will look for version of Outlook in MS Office 2008,
2011 and 2016 for Mac: #!/bin/sh if [ -d /Applications/Microsoft Office
2011/Microsoft Outlook.app ] ; then RESULT=$( sudo defaults read
/Applications/Microsoft Office 2011/Microsof...