User Tools

Site Tools


working_with_tasker

====== Differences ====== This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
working_with_tasker [2015/05/15 07:57]
pierrox [Overview]
working_with_tasker [2015/05/15 08:06] (current)
pierrox Add lightning variables
Line 3: Line 3:
 This support consists in  This support consists in 
   * launching Lightning actions from a Tasker task   * launching Lightning actions from a Tasker task
-  * launching Lightning scripts from a Tasker task+  * launching Lightning scripts from a Tasker task (starting at 12.4b2)
   * setting variables inside Lightning from a Tasker task (starting at 12.5b1)   * setting variables inside Lightning from a Tasker task (starting at 12.5b1)
   * launching Tasker tasks from Lightning, through scripting   * launching Tasker tasks from Lightning, through scripting
 +
 ====== Running Lightning actions from a Tasker task ====== ====== Running Lightning actions from a Tasker task ======
 All available Lightning actions can be used. This is similar to starting a Lightning action shortcut. In Tasker, create or modify a Task, add an action, select Plugin, then select Lightning Action. Once the action has been added edit its configuration:​ the Lightning action menu is displayed so that you can select one. All available Lightning actions can be used. This is similar to starting a Lightning action shortcut. In Tasker, create or modify a Task, add an action, select Plugin, then select Lightning Action. Once the action has been added edit its configuration:​ the Lightning action menu is displayed so that you can select one.
Line 18: Line 19:
 </​sxh>​ </​sxh>​
 Then calling this script from Tasker with the data **%TIME** will display a dialog in Lightning with something like **11:17** Then calling this script from Tasker with the data **%TIME** will display a dialog in Lightning with something like **11:17**
 +
 +====== Setting variables inside Lightning from a Tasker task ======
 +For 12.5b1 and above. Variables are primarily used in bindings (expert mode). They are used to animate items properties, such as position, transparency,​ colors, and so on. These variables can be set inside Lightning or from third party apps. In particular Lightning provides a Tasker plugin to set its own variable.
 +When adding an action in Tasker, select Plugin, then select Lightning Variable. You then need to enter the name of a variable (or pick an existing one), then enter the value for the variable.
  
 ====== Starting Tasker task from Lightning, though scripting ====== ====== Starting Tasker task from Lightning, though scripting ======
working_with_tasker.1431676647.txt.gz ยท Last modified: 2015/05/15 07:57 by pierrox