@craftzdog, do you think this feature can be nicer? Because I realized that what this feature does for now is just to hide one window and it doesn’t hide Inkdrop app. Yeah, I know that’s what I was expecting before… But I’m so sorry, actually I found it a little bit weird. Furthermore, if more than 2 windows are displayed, this feature will work only for one of those.
So I’m wondering if this action was changed like that when it’s fired then:
- If Inkdrop is active > it’ll work like ⌘H
- If Inkdrop is inactive > it’ll make Inkdrop active and show all windows
Actual code would be like this:
if NSRunningApplication.current.isActive {
NSRunningApplication.current.hide()
} else {
NSRunningApplication.current.activate(
options: [.activateAllWindows, .activateIgnoringOtherApps])
}
FYI, other apps I previously mentioned adopt this behavior.
Again, thanks for implementing this feature very fast!