Matt Gemmell

Using MAAttachedWindow with an NSStatusItem

1 min read95 words

I get asked how to do this disproportionately often, so I put together a sample project showing how you can have an NSStatusItem in the menubar which spawns an MAAttachedWindow instead of a menu (really, it’s ridiculously simple – no tricks involved). It looks like this:


Could be cool for status displays, alerts, or just having a pic of your significant other floating around on your screen, and it should work on Leopard, Tiger, and very likely Panther too. You can grab the source here.