开发者

Cocoa : Hide any window using accessibility

开发者 https://www.devze.com 2023-04-04 09:10 出处:网络
I am wondering how to hide/show any window (not belonging to my application) using accessibility. It should be Mac App Store compl开发者_JAVA百科iant (I already have a version using private function,

I am wondering how to hide/show any window (not belonging to my application) using accessibility. It should be Mac App Store compl开发者_JAVA百科iant (I already have a version using private function, but this is something I would like to stop).

Thanks in advance for your help,


You can't do that to a window using Accessibility. You can set the AXHidden of an AXApplication, or the AXMinimized of an AXWindow, but you can't simply hide (set AXHidden of) an AXWindow.

0

精彩评论

暂无评论...
验证码 换一张
取 消