Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Can I identify all windows associated with a given OSX (Lion) process and hide them?

Ideally, I would set some kind of flag on the process itself to automatically hide any windows it opens.

Is it possible, for example, to instantiate a "null" window manager, which looks like a normal window manager but doesn't actually open any windows?

share|improve this question

1 Answer 1

up vote 0 down vote accepted

Individual windows can't usually even be hidden in OS X. You can do it with AppleScript though: osascript -e 'tell app "TextEdit" to set visible of windows to false'.

Applications can be hidden like tell app "System Events" to set visible of process "TextEdit" to false.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.