Calculate Time Spent in Script

From Keyfax Wiki
Jump to: navigation, search

This Databox requires the time to be read from the system Databox time and written into the Databox details03 at the point that you wish to start timing. When this Databox is read it will provide the time that has elapsed.

Ensure that you have the following databoxes setup:



The databox that calculates the time must be setup as follows.


Read the Keyfax.Time databox at the start of the script and write it into the Script.details03 databox. Then ask any questions required within the script. Finally you read the 'Keyfax.time spent in seconds' databox and in this example it has been written it into a message to display the result.