mjolnirapp / mjolnir

Lightweight automation and productivity app for OS X
5.2k stars 129 forks source link

Anyway to get the app object from Application name? #537

Closed ianks closed 9 years ago

ianks commented 9 years ago

I want to be able to retrieve and app object from application name.

This would allow me to call functions like mjolnir.application.hide(app_from_name("Emacs"))

0942v8653 commented 9 years ago

Try the mjolnir.cmsj.appfinder module. You can use appfinder.app_from_name() once it's installed.

ianks commented 9 years ago

You're the best!