GoFiler Legato Script Reference
Legato v 1.5d Application v 5.25a
|
Table of Contents | < < Previous | Next >> |
Chapter Five — General Functions (continued)
Overview
The GetLastActivityTick function returns the tick time since the last user activity.
Syntax/Parameters
Syntax
qword = GetLastActivityTick ( [int mode] );
Parameters
mode
An optional int specifying which activity time to inspect. The default value is GLAT_ANY_ACTION.
Return Value
Returns a qword containing the last activities time in milliseconds. A zero value means the activity has not been engaged by the user since application startup.
Remarks
As certain activities are processed by the application, the system tick count is stored when the action occurs. The GetLastActivityTick reads the activity and returns the value.
The modes are as follows:
SDK Name | Description | |||
GLAT_ANY_ACTION | Latest of any action. | |||
GLAT_MOUSE_CLICK | Last mouse down click (within the application) of either left or right buttons. Drag does not count except for the initial mouse button down, if initiated in the application. | |||
GLAT_KEYBOARD | Any non-system key down or character action. | |||
GLAT_EDIT_ACTION | Any action that results in an actual edit change to a file (view). | |||
GLAT_DIALOG_ACTION | Any control commands or notifications including receiving or losing focus such as from tabbing through controls. |
If the user has not engaged in a class of activity since the time the application started, the return value will be zero. For example, if a dialog has not been opened, the return value for GLAT_DIALOG_ACTION will be zero.
Related Functions
Platform Support
Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL
Legato IDE, Legato Basic
Table of Contents | < < Previous | Next >> |
© 2012-2024 Novaworks, LLC. All rights reserved worldwide. Unauthorized use, duplication or transmission prohibited by law. Portions of the software are protected by US Patents 10,095,672, 10,706,221 and 11,210,456. GoFiler™ and Legato™ are trademarks of Novaworks, LLC. EDGAR® is a federally registered trademark of the U.S. Securities and Exchange Commission. Novaworks is not affiliated with or approved by the U.S. Securities and Exchange Commission. All other trademarks are property of their respective owners. Use of the features specified in this language are subject to terms, conditions and limitations of the Software License Agreement.