recipes
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
recipes [2018/11/28 14:42] – itkachenko | recipes [2020/06/01 12:40] – emozolyak | ||
---|---|---|---|
Line 1: | Line 1: | ||
======Recipes====== | ======Recipes====== | ||
+ | |||
The recipe allows you to initialize a set of values to a certain group of registers. There are several options for using recipes: | The recipe allows you to initialize a set of values to a certain group of registers. There are several options for using recipes: | ||
+ | * Recipes can be applied either by selecting an entry in the recipe drop-down list or by calling a script | ||
+ | * Recipes can be edited right on the dashboard with a quick edit method (not going back to the Recipe list) | ||
+ | * Recipes can be visible or not for different users. Some recipes can be ' | ||
+ | * Recipe list can be used as a handy tool for analysing user choice from different options. The selected id is returned to the lua script which then can process the selecion. | ||
+ | |||
+ | The recipe management menu resided in a ' | ||
+ | {{ :: | ||
+ | |||
* placing a list of recipes on a dashboard in the form of a drop-down or full list. After choosing a recipe, there are two options - immediately apply it, or use a script that will track the selection of a new recipe and perform some additional actions. | * placing a list of recipes on a dashboard in the form of a drop-down or full list. After choosing a recipe, there are two options - immediately apply it, or use a script that will track the selection of a new recipe and perform some additional actions. | ||
Line 24: | Line 33: | ||
* Whether to apply the recipe immediately or not (in the second case, only the register number will change where the current recipe number is stored) | * Whether to apply the recipe immediately or not (in the second case, only the register number will change where the current recipe number is stored) | ||
+ | {{ : | ||
- | + | To apply recipes within scripts, the **ApplyRecipe (recipeId, userId)** function is used. [[working_with_recipes|See here]]. After it is executed, if a list is displayed on one of the dashboards, the contents of the recipe from the ApplyRecipe function, you must also write the recipe number in the register tied to the list - to synchronize the display of the list. | |
- | To apply recipes within scripts, the **ApplyRecipe (recipeId, userId)** function is used. [[http:// | + |
recipes.txt · Last modified: 2022/01/15 15:41 by 127.0.0.1