====== Differences ====== This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
working_with_tasker [2015/04/02 17:16] pierrox Note on background scripts |
working_with_tasker [2015/05/15 08:06] (current) pierrox Add lightning variables |
||
---|---|---|---|
Line 2: | Line 2: | ||
Built-in Tasker support starts with LLX 10.5b1. | Built-in Tasker support starts with LLX 10.5b1. | ||
This support consists in | This support consists in | ||
- | * triggering Lightning actions (such as desktop navigation, script execution) from a Tasker task | + | * launching Lightning actions from a Tasker task |
- | * triggering Tasker tasks from Lightning, through scripting | + | * launching Lightning scripts from a Tasker task (starting at 12.4b2) |
+ | * setting variables inside Lightning from a Tasker task (starting at 12.5b1) | ||
+ | * launching Tasker tasks from Lightning, through scripting | ||
====== Running Lightning actions from a Tasker task ====== | ====== Running Lightning actions from a Tasker task ====== | ||
Line 17: | 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 ====== |