show custom NSView on status item click

I’m using the menulet code from this thread:
http://bbs.applescript.net/viewtopic.php?id=21036

It works fine. What I would like is to have the custom NSView found here titled “MAAttachedWindow”

to show just below the menulet icon when it is clicked. I can’t figure out how to integrate them though :confused:

Please someone help out! :smiley:

nevermind Matt Gemmell helped me out :smiley: