Creating LC IDE plugin - is it possible to check if plugin was started automatically or from menu?

Matthias Rebbe matthias_livecode_150811 at m-r-d.de
Mon Nov 20 10:07:12 EST 2017


Thanks Monte, that was exactly i was looking for.

Matthias



> Am 20.11.2017 um 10:19 schrieb Monte Goulding via use-livecode <use-livecode at lists.runrev.com <mailto:use-livecode at lists.runrev.com>>:
> 
> 
>> On 20 Nov 2017, at 7:21 pm, Matthias Rebbe via use-livecode <use-livecode at lists.runrev.com <mailto:use-livecode at lists.runrev.com>> wrote:
>> 
>> So is there a way to check if a plugin was run at startup or if it was started from the menu?
> 
> Yes, check if revMenubar is in the executionContexts
> 
> Cheers
> 
> Monte
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com <mailto: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