SCLOrkWatch:
Filter:
SCLOrkTools/Classes (extension) | Quarks > SCLOrkTools

SCLOrkWatch
ExtensionExtension

a simple stopwatch.

Description

A basic stopwatch that starts immediately. User can define optional target times for blinking (blinking starts 5 seconds before target time), and actions (functions) to be automatically evaluated at target times.

Class Methods

.new

Construct, initialize, and return a new SCLOrkWatch object. Starts stopwatch right away.

Arguments:

list

Optionally, you may define a list of target times to get a blink warning. Blinking will start 5 seconds before target:

The list can also be pairs of target times and functions:

Each function will be evaluated at the corresponding target time.

Examples