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

2017-11-20 Thread Alejandro Tejada via use-livecode
Hi All,

Where could I found a guide for creating LC IDE plugins?

Al

> On 20 Nov 2017, at 7:21 pm, Matthias Rebbe wrote:
> So is there a way to check if a plugin was run at
> startup or if it was started from the menu?

> Then, Monte Goulding answered:
> Yes, check if revMenubar is in the executionContexts
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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

2017-11-20 Thread Matthias Rebbe via use-livecode
Thanks Monte, that was exactly i was looking for.

Matthias



> Am 20.11.2017 um 10:19 schrieb Monte Goulding via use-livecode 
> >:
> 
> 
>> On 20 Nov 2017, at 7:21 pm, Matthias Rebbe via use-livecode 
>> > 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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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

2017-11-20 Thread Monte Goulding via use-livecode

> On 20 Nov 2017, at 7:21 pm, Matthias Rebbe via use-livecode 
>  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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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

2017-11-20 Thread Matthias Rebbe via use-livecode
Hi,
first of all i am totally new to plugin creation. 
I am working on a plugin which shall be started with LC startup and then close 
again automatically after executing some task w/o user interaction.
But i need also to run this plugin manually from the plugin menu without 
running the tasks, because in manual mode i want to start the tasks by pressing 
a button.
So is there a way to check if a plugin was run at startup or if it was started 
from the menu?

Regards,
Matthias
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode