Luis Alfredo Chandia
now browsing by tag
Using the excellent template created by Lutz Linke “Companion” we can change the scenes with Tasker .
Using the excellent template created by Lutz Linke “Companion” we can change the scenes with Tasker .
Here is the task
Casa
Set Variable % MODE to Home
Set Volume Notification 6
Set Icon Tasker to ” … “
…
…
( what you want )
( here is the important) + > Plugins > Lightning Launcher (Configuration : Run a Script> “ChooseScene” > Pass these data to the script: %MODE)
Here is the script “ChooseScene”
LL.runScript(“Cmpn_SceneLoad”,LL.getEvent().getData());
For different contexts can create different task to call different scenes created in the excellent template by Lutz Linke
Its work for me.
I have diferent Mode (Casa,Trabajo,Calle) and change in diferent context. When change the Mode, set the variable %MODO with the name of the scene and then pass to LLX. It has great potential!
Enjoy!
Help.
var id= 393220 //the id of the item
var amount = 0.5 //the parallax effect, between 0,1
var cont=LL.getEvent().getContainer();
var it=LL.getItemById(id);
it.setPosition(cont.getPositionX()* amount+it.getWidth()* (amount-1),0);
]]>