User Guide

Chapter 3158
copyToClipBoard
Syntax
member(whichCastMember).copyToClipBoard()
copyToClipBoard member whichCastMember
Description
Command; copies the specified cast member to the Clipboard without requiring that the cast
window is active. You can use this command to copy cast members between movies or applications.
Examples
This statement copies the cast member named chair to the Clipboard:
member("chair").copyToClipboard()
This statement copies cast member number 5 to the Clipboard:
member(5).copyToClipboard()
See also
pasteClipBoardInto
cos()
Syntax
(angle).cos
cos (angle)
Description
Function; calculates the cosine of the specified angle, which must be expressed in radians.
Example
The following statement calculates the cosine of PI divided by 2 and displays it in the
Message window:
put (PI/2).cos
See also
atan(), PI, sin()
count()
Syntax
list.count
count (list)
count(theObject)
object.count
textExpression.count
Description
Function; returns the number of entries in a linear or property list, the number of properties in a
parent script without counting the properties in an ancestor script, or the chunks of a text
expression such as characters, lines, or words.
The
count command works with linear and property lists, objects created with parent scripts, and
the globals property.