idleTicks

Typeproperty
DictionaryLCS
LibraryLiveCode Script
Syntax
set the idleTicks to <number>
Summary

Specifies the number of ticks between idle, mouseStillDown, and mouseWithin messages.

Introduced1.0
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Example
set the idleTicks to 60 -- 1 second interval
Values
NameTypeDescription
Value

The idleTicks is a positive integer. By default, the idleTicks property is set to 12 (one-fifth of a second).

RelatedProperty: idleRate, properties
Message: idle, mouseStillDown, mouseWithin
Function: ticks, milliseconds
Glossary: property, application, message, Unix
Description

Adjust the idleTicks property to change the interval between periodically-sent messages. Increasing the idleTicks causes these messages to be sent less frequently, and decreases the amount of CPU time the application uses.

The idleTicks is the time in ticks between one idle message and the next, one mouseStillDown message and the next, and one mouseWithin message and the next.

Important: Some Unix systems cannot reliably time an interval less than 12 ticks. Setting a shorter idleTicks on those systems may cause idle messages to be sent at erratic times.

This property is very similar to the idleRate property, and changes when the idleRate changes. The only difference is that the two properties are given in different time units: the idleRate is in milliseconds and the idleTicks is in ticks.

Tagsui