I’m not a friend of tasker.
I’m not a friend of tasker.
I merely tent to this app to automate things: automagic – a swiss knife with very good GUI.
Is it possible to use Taskerintent to trigger Flows in automagic or could we get a extension in LL to trigger AutomagicIntents?
var i = new AutomagicIntent(“Say”);
…
LL.sendAutomagicIntent(i, true);
]]>« Hi (Previous Post)
< ![CDATA[
no comment?
not even Pierre?
]]>
< ![CDATA[
i am also intersted in knowing the answer here, Tasker development has stagnated (developer seems to have health issues and can’t focus on it ATM) while Automagic has an active developer (Automagic is also much easier to use).
]]>
< ![CDATA[
Does automagic have a shortcut to run a task? (I mean, can you create a shortcut item which will trigger the task? )
If the answer is yes, good news! You can launch that intent from script anywhere. But passing specific parameters to the task won’t be so easy, and possibly not possible.
]]>
< ![CDATA[
I tried to create a shortcut – works!
How can i find out which Intent has to be launched?
I think, there must be way to pass parameters to automagic, especialy the flow-Name of the script that should be launched.
in automagic you can start cascades of flows. I think that they are put together by sending Intents.
]]>
< ![CDATA[
Run this script from any shortcut to get the code to launch that shortcut from script. Looking at the output you may guess how to launch a different flow with another name, but that depends on the app so you will have to test.
prompt(“here you have:”,’LL.startActivity(Intent.parseUri(“‘+LL.getEvent().getItem().getIntent().toUri(0)+'”,0));’);
]]>
< ![CDATA[
i started LogCat and i found this. Is this enough to start a Flow? I can not find how to pass the name of the trigger. The Intend seems to have the mame ch.gridvision.ppam.androidautomagic.intent.action.TRIGGER_SHORTCUT
I dont have enough knowlede of android to find out more. I hope one of you can clear the fog.
11-19 20:12:17.053 I/ActivityManager(926): START u0 {act=ch.gridvision.ppam.androidautomagic.intent.action.TRIGGER_SHORTCUT typ=application/x-androidautomagic flg=0x54050004 cmp=ch.gridvision.ppam.androidautomagic/.ShortcutReceiverActivity bnds=[997,452][1196,578] (has extras)} from uid 10072 on display 0
11-19 20:12:17.075 V/WindowManager(926): addAppToken: AppWindowToken{35bd85d8 token=Token{3332bcbb ActivityRecord{3fdec54a u0 ch.gridvision.ppam.androidautomagic/.ShortcutReceiverActivity t4423}}} to stack=1 task=4423 at 0
11-19 20:12:36.222 I/AM_e (16640): [Countdown] Start executing action ‘Benachrichtigung in Statusbar: Automagic Countdown’
11-19 20:12:36.235 I/AM_e (16640): [Countdown] End executing action ‘Benachrichtigung in Statusbar: Automagic Countdown’
]]>
< ![CDATA[
I can tell you nothing from the logcat.
Post the result of the script I wrote before
]]>
< ![CDATA[
Here is the result:
LL.startActivity(Intent.parseUri(“#Intent;action=ch.gridvision.ppam.androidautomagic.intent.action.TRIGGER_SHORTCUT;type=application/x-androidautomagic;launchFlags=0x54050004;S.name=Countdown;end”,0));
That should lead us to the solution.
Gracias a Madrid!
]]>
< ![CDATA[
Well, in that code there is the word ‘Countdown’ and from your previous post I guess that’s the name of the flow so changing that with the name of another flow should work, try it.
Emm, Gracias 😛
]]>
< ![CDATA[
i tried – it works!!
]]>
< ![CDATA[
Curious, why not ask in there G+ community? Not trying to be rude, but don’t you think it’s a slap in the face to ask a competitor to help you use someone else’s product and then tell them that its superior, but you need there help?
]]>
< ![CDATA[
This is Lightning Launcher Community right? When did Lightning Launcher became a competitor to automation apps? Unless Lightning Launcher and Tasker have the same dev (which is not the case) then there is nothing wrong in asking how to call Automagic Shortcuts in Lightning Launcher script in a Lightning Launcher Community.
]]>
< ![CDATA[
Paul Johnson absolutely correct I thought I was in a different community. I shouldn’t drink and G+. Apologies to all! It’s the new format of G+, that had me thinking I was in a different community.
]]>