hs.application.watcher.activated
hs.application.watcher.deactivated
hs.application.watcher.hidden
hs.application.watcher.launched
hs.application.watcher.launching
hs.application.watcher.terminated
hs.application.watcher.unhidden
hs.application.watcher.new(fn) -> watcher
hs.application
object representing the application, or nil if the application couldn't be foundhs.application.watcher
objecths.application.watcher.terminated
then the application name parameter will be nil
and the hs.application
parameter, will only be useful for getting the UNIX process ID (i.e. the PID) of the applicationhs.application.watcher:start()
hs.application.watcher
objecths.application.watcher:stop()
hs.application.watcher
object