Question:
Can I save values configured at run time when stopping an application, in order to load them later?
Solution:
Yes; to do so, you must use Recipes and create two scripts: one to load the values at OnStartRunning() event, and another one save them at OnStopRunning() event. They are accessed via Organizer at Application item.
Can I save values configured at run time when stopping an application, in order to load them later?
Solution:
Yes; to do so, you must use Recipes and create two scripts: one to load the values at OnStartRunning() event, and another one save them at OnStopRunning() event. They are accessed via Organizer at Application item.
Examples:
OnStartRunning() event:
if recipe.GetRecCount() > 0
recipe.LoadRecipe(1)
endif
OnStopRunning() event:
if recipe.GetRecCount() < 1
recipe.CreateNewRecord(“Persistent tags”)
endif
recipe.SaveRecipe(1)