Need to track click on a MacStatusMenu without menu items
Monte Goulding
monte at appisle.net
Mon Nov 2 04:07:50 EST 2020
Hi Matthias
It would be possible to add to the library I think. Should just be a matter of setting an action which posts a callback on the button of the NSStatusItem. If you want to have a play the library is open source ;-)
Cheers
Monte
> On 2 Nov 2020, at 4:09 am, matthias rebbe via use-livecode <use-livecode at lists.runrev.com> wrote:
>
> Hi
>
> i am currently working on a Mac OS app which makes use of the MacStatusMenu Library.
> Now i need a way to track a click on a Mac Status Menu icon which does not have any menu items.
>
> Is this somehow possible?
>
> Currently i am only able to track the click of a menu item of a Mac Status Menu.
> But if no menu item is set and i click directly on the status menu icon, i do not get anything back.
>
> Any ideas?
>
> Regards,
> Matthias
>
>
>
> -
> Matthias Rebbe
> Life Is Too Short For Boring Code
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list