[index]
Ticks Function
Syntax: the ticks or ticks()
Description
Examples
Create a button called "Ticks" and place the following handler into its script:
on mouseDown
put the ticks into starticks
repeat until the mouse is up
end repeat
put the ticks into endticks
&& totalticks/60 && "seconds" end mouseDown
Now click and hold down the mouse for a few seconds. When you release the mouse, a dialog appears telling you how long you held the mouse down.
This text has been mechanically extracted from the Oracle Media Objects 1.0.4.9 MediaTalk Reference, © 1995 Oracle Corporation, and is provided here solely for educational/historical purposes.