Page 1 of 1

How to start a flow from Lightning Launcher

Posted: 10 Nov 2017 20:11
by briconaut
Is it possible to start a flow from a Lightning Launcher script ?
There's a way to call Tasker tasks:
http://www.lightninglauncher.com/wiki/d ... _scripting
... like this ...

Code: Select all

LL.sendTaskerIntent(new TaskerIntent("MyTask"), false);
It looks really Tasker specific, but maybe there's a way for Automagic too?

Re: How to start a flow from Lightning Launcher

Posted: 11 Nov 2017 01:53
by Desmanto
Do you need to add anything in tasker? Something like profile "intent received". Because Automagic can receive intent broadcast thru General Broadcast trigger, you can see the example here. viewtopic.php?f=5&t=6868

I don't much about the LL script, but if it can send broadcast intent, then you can use that to call automagic's flow.

Re: How to start a flow from Lightning Launcher

Posted: 11 Nov 2017 09:47
by briconaut
That looks very much like what I need. I'm sure LL can send broadcast intent, it's just a matter of finding it in the documentation.
Thanks.