This class assists with working with macOS apps. It provides functions for finding, checking the running status, version number, path, and many other values related to an application. It also provides support for launching, quitting, and other activities related to applications.
This extension differs from the hs.application extension in several ways:
cp.app instances are long-lived. You request it once and it will stay up-to-date even if the app quits.
It makes extensive use of cp.prop, so you can watch many most properties of the app and get live notifications when they change.