Repository navigation
Advanced Features
You can use SendPrompt also to refresh your prompts if they're already visible.
See here for ButtonMutables, i.e., things you can refresh.
If the sink is already queued, SendPrompt returns false, even when it restores missing prompts.
In order to update/refresh one of the mutables, simply call SendPrompt again with your updated parameters/prompts.
SendPrompt also restores any removed or dismissed prompts still returned by GetPrompts(). Rows follow the event order in GetPrompts(), with stacked actions sharing one row. Existing prompts are refreshed in place, without switching the selected stacked action, List selection, or client page. To keep a prompt removed when sending again, leave it out of GetPrompts().
⚠️ Currently only available for Single-Press prompts.
You can take control of the progress circle that will appear around your button by giving a value to the progress field that is not 0.0.
Values larger than 0 and smaller than 1 will set the progress circle to that fraction of the complete circle.
You can give numbers that are not whole numbers (non-integers) to trigger special instructions to SkyPrompt.
SkyPrompt will map these numbers to an integer and a fractional part:
Currently, a multiplier of magnitude 1 will lead to a full circle progress in 10 seconds.
The direction of the movement of the progress circle can be controlled by the sign of the value. A positive value will lead to a decreasing progress, vice versa.
⚠️ Important! Once the progress circle reaches 0 or 1, you will get akDeclinedevent in both cases.
- A prompt that gives the user a 1-second window to perform a certain action:
10.99 - A prompt that gives the user to execute an action earlier that will auto-perform itself in 5 seconds:
-2.01 -
Tutorial4(Quick-Time) andTutorial5(Button-Mash) inTutorial.handTutorial.cpp.