title: Launching apps programmatically
body: <p>I have been playing around with NSWorkspace.</p>
  <ul>
  <li><p><code>[[NSWorkspace sharedWorkspace] launchApplication:@&quot;Photos&quot;]</code> works</p>
  </li>
  <li><p><code>[[NSWorkspace sharedWorkspace] launchApplication:@&quot;Contacts&quot;]</code> does <strong>not</strong> work</p>
  </li>
  <li><p><code>[[NSWorkspace sharedWorkspace] launchApplication:@&quot;/Applications/Contacts.app&quot;]</code> works</p>
  </li>
  </ul>
  <p>(Mac OS Sierra)</p>
  <p>So, I was wondering if there is any safe way to find the &quot;real&quot; application path. Maybe the Contacts app has different names in different localization of the System ? Why is just &quot;Photos&quot; working fine ?</p>
  <p>I would imagine that there should be a way, from an Apple documented application identifier to get the application path, but I found nothing.</p>