Lingo Dictionary > A-C > cpuHogTicks

 

cpuHogTicks

Syntax

the cpuHogTicks

Description

System property; determines how often Director releases control of the CPU to let the computer process background events, such as events in other applications, network events, clock updates, and other keyboard events.

The default value is 20 ticks. To give more time to Director before releasing the CPU to background events or to control how the computer responds to network operations, set cpuHogTicks to a higher value.

To create faster auto-repeating key performance but slower animation, set cpuHogTicks to a lower value. In a movie, when a user holds down a key to generate a rapid sequence of auto-repeating key presses, Director typically checks for auto-repeating key presses less frequently than the rate set in the computer's control panel.

The cpuHogTicks property works only on the Macintosh.

Example

This statement tells Director to release control of the CPU every 6 ticks, or every 0.10 of a second:

the cpuHogTicks = 6

See also

ticks