Menulet

I’ve been trying out code from http://macscripter.net/viewtopic.php?id=31162 to make my own menulet, which has gone well and works, however I’m not sure how to show a text box in the menu bar instead of a menu. Any ideas?

Any help would be appreciated, thanks :slight_smile:

Hi,

you can attach a custom view to a NSStatusItem, which is displayed instead of the normal title and/or the image.
That view could contain anything

How…? Specifically, I’m using code from http://macscripter.net/viewtopic.php?pid=120873#p120873

There is a major problem: The custom view cannot become key window to make the text field editable.
I guess there is a way to work around the problem, but it’s probably very complicated