Created
November 2, 2016 13:34
-
-
Save blackxored/ad2bdc2e5c745e6992f3d209b66b8839 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local app = appfinder.appFromName(object.app) | |
if app then· | |
app:activate() | |
else | |
hs.application.launchOrFocus(object.app) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment