Quote from
Gaev on January 20, 2023, 4:50 pm
@pauljonestindall
If you are just looking to (custom) set the "definition of idle time", at Design time ...
App >>> App Properties >>> Actions ... then click on the Idle Event Tab ... at the top of the resulting display, it says "Idle Event options" ... turn the Checkbox on, and choose the number of seconds
But if you are looking to check (at run time) how much of the Idle Time remains before the defined actions are triggered, I don't see how.
Note that even if this value was accessible ...
a) you might have difficulty showing this value (e.g. as a countdown number) in a Text Box ... some Global Variables are not updated automatically, but have to be enquired via script command.
b) you can not click on a button to get this value, as any mouse/keyboard action would reset the idle time.
There might be a solution/workaround for a special case of why you would want to do this; perhaps you can explain what you are trying to achieve.
@pauljonestindall
If you are just looking to (custom) set the "definition of idle time", at Design time ...
App >>> App Properties >>> Actions ... then click on the Idle Event Tab ... at the top of the resulting display, it says "Idle Event options" ... turn the Checkbox on, and choose the number of seconds
But if you are looking to check (at run time) how much of the Idle Time remains before the defined actions are triggered, I don't see how.
Note that even if this value was accessible ...
a) you might have difficulty showing this value (e.g. as a countdown number) in a Text Box ... some Global Variables are not updated automatically, but have to be enquired via script command.
b) you can not click on a button to get this value, as any mouse/keyboard action would reset the idle time.
There might be a solution/workaround for a special case of why you would want to do this; perhaps you can explain what you are trying to achieve.