User Guide
588
serialNumber
Syntax
the serialNumber
Description
Movie property; a string containing the serial number entered when Director was installed.
This property is available in the authoring environment only. It could be used in a movie in a
window (MIAW) tool that is personalized to show the user’s information.
Example
This handler would be located in a movie script of a MIAW. It places the user’s name and the
serial number into a display field when the window is opened:
on prepareMovie
displayString = the userName
put RETURN&the organizationName after displayString
put RETURN&the serialNumber after displayString
member("User Info").text = displayString
end
See also
organizationName, userName, window
set...to, set...=
Syntax
set the lingoProperty to expression
the lingoProperty = expression
set variable to expression
variable = expression
Description
Command; evaluates an expression and puts the result in the property specified by lingoProperty
or the variable specified by variable.
Examples
This statement sets the name of member 3 to Sunset:
set member(3).name = "Sunset"
The following statement sets the soundEnabled property to the opposite of its current state. When
soundEnabled is TRUE (the sound is on), this statement turns it off. When soundEnabled is FALSE (the
sound is off), this statement turns it on.
set the soundEnabled = not (the soundEnabled)
This statement sets the variable vowels to the string “aeiou”:
set vowels = "aeiou"
See also
property