Hammerspoon / hammerspoon

Staggeringly powerful macOS desktop automation with Lua
http://www.hammerspoon.org
MIT License
12.11k stars 582 forks source link

launchOrFocus not working for Things app #1675

Closed carlosgoce closed 6 years ago

carlosgoce commented 6 years ago

Hello,

I am trying to "launchOrFocus" the Things app but it is not working. It is not working on my MacBookPro, neither on my iMac. Everything else is working fine.

The app is from the AppStore.

I think it is no hammerspoon bug, but how the app works somehow. But maybe there is a workaround to get it working?

My code is simply:

hs.application.launchOrFocus("Things")

Thank you!

carlosgoce commented 6 years ago

I figured it out. For some reason on Activity Monitor it is listed as "Things", but running

top -o cpu

Revealed that the real name is Things3