Idle Event Elapsed Time Variable? - Forum

Forum Navigation
You need to log in to create posts and topics.

Idle Event Elapsed Time Variable?

The App Properties>Idle Event

Could there be a hidden global variable for the elapsed time before Idle Event actions are executed? Something like the Timer object elapsed time variable.

I do not see anything in Help. If that's the case, any ideas on how to track the elapsed idle time?

I have found that Timer objects are problematic in that if you have a timer running then the Idle Event actions will not execute.

 

@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.