How to get Bundle ID of MAC application?
<p>I want to use Python and <code>atomac</code> module to trigger an application in MAC OS like following scripts:</p>

<pre><code>atomac.launchAppByBundleID()
app_win = atomac.getAppRefByBundleId(app_bundle_ID)
</code></pre>

<p>But I don't know how to get the Bundle ID (<code>app_bundle_ID</code>) of the application.</p>

<p>if you just need it to launch the app look in the app's info.plist file. the file is in the app bundle in the Contents directory. This works for a lot of apps.</p>

python osx ui-automation