This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Last revision Both sides next revision | ||
dictionary:more:dolater [2018/01/15 15:23] James Sentman [Do Later] added more info and link to motion controlled light |
dictionary:more:dolater [2018/01/15 15:28] James Sentman |
||
---|---|---|---|
Line 7: | Line 7: | ||
Don’t use do later for things that you need to adjust the timing of, or things where you might create more and more of them like a motion controlled light. Use the [[tutorials:motion_controlled_light|Motion Controlled Light]] technique for things like that. | Don’t use do later for things that you need to adjust the timing of, or things where you might create more and more of them like a motion controlled light. Use the [[tutorials:motion_controlled_light|Motion Controlled Light]] technique for things like that. | ||
+ | |||
+ | If you need a regular callback to the same handler or need to create such an event in another script use the [[dictionary:xtension:startidler|Start Idler]] command. | ||
+ | |||
+ | A Global Script named “[[xtension_manual:specialscripts|Idle Script]]” will be run every minute so that is another place to put repeating tasks. | ||
+ | |||
===Usage:=== | ===Usage:=== | ||
**do later** [text] the name of the handler to do later. This will always be in the same script, you cannot do later into a different script. This works for Global Script, unit ON or OFF scripts or Interface scripts.\\ | **do later** [text] the name of the handler to do later. This will always be in the same script, you cannot do later into a different script. This works for Global Script, unit ON or OFF scripts or Interface scripts.\\ | ||
Line 28: | Line 33: | ||
end partThree | end partThree | ||
</code> | </code> | ||
+ | |||
+ | ===See Also:=== | ||
+ | * [[dictionary:xtension:startidler|Start Idler]] | ||
+ | * [[dictionary:xtension:stopidler|Stop Idler]] | ||
+ | * [[xtension_manual:specialscripts|Idle Script]] | ||
===Notes:=== | ===Notes:=== |