Need to track click on a MacStatusMenu without menu items

matthias_livecode_150811 at m-r-d.de matthias_livecode_150811 at m-r-d.de
Mon Nov 2 07:03:02 EST 2020


Hi Monte,

thanks for responding and assuming that it might be possible with adjustments to the source code.

Regarding Livecode Builder, i am afraid i am a hopeless case. ;) 
Tried so many times to follow the widget course and other resources, but it seems i will never understand that stuff completely. I was even able to adjust  the source code of the clock widget to disable the day/night color switch.  But as soon as ObjectC is involved i am lost. 

Anyway, one doesn't have to be able to do everything. 
Hey, i am very good in making fresh pasta. Okay that doesn't help me here. ;) 


All the best,
Matthias

-
Matthias Rebbe
Life Is Too Short For Boring Code

> Am 02.11.2020 um 10:07 schrieb Monte Goulding via use-livecode <use-livecode at lists.runrev.com>:
> 
> 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
> 
> 
> _______________________________________________
> 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