Skip to content

Instantly share code, notes, and snippets.

@stevenschobert
Created October 7, 2014 21:16
Show Gist options
  • Select an option

  • Save stevenschobert/3cc2623871793bd0ac2b to your computer and use it in GitHub Desktop.

Select an option

Save stevenschobert/3cc2623871793bd0ac2b to your computer and use it in GitHub Desktop.
Tests if an application is installed on your system
try
set targetApp to application "APPNAME"
properties of targetApp
on error errorMessage
if errorMessage contains "application" then
error
else
return true
end if
end try
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment