Mac menu bar 'Search' field


#1

Hey
I’ve recently noticed that when you create a ‘Help’ Mac menu bar item it automatically creates a ‘Search’ option that allows you to search for words/phrases within the rest of the menu bar. I was wondering if Juce supplies or is expect to supply any kind of functionality to use this Search item to do other things (e.g. search for words within a file/PDF)?

I’d imagine there is an Apple/Obj-C API to handle something like this, but I’m not to familiar with it myself.
Thanks.


#2

TBH I’ve no idea how that stuff works. Apple have hard-coded it to look for the word “Help” as a menu title, which seems a bit hacky to me!