Using Director > Writing Scripts with Lingo > Creating and attaching scripts with the Script window > Inserting common Lingo terms

 

Inserting common Lingo terms

The Script window provides a pop-up menu of common Lingo terms that you can use to insert Lingo in a script.

The Alphabetical menu lists every element in alphabetical order.

The Categories menu lists categories of elements according to the features they are often used for.

When you choose an element from the Lingo pop-up menu, Director inserts the element at the insertion point in the Script window.

When an element requires additional parameters, Lingo includes placeholder names that indicate the additional required information. When more than one argument or parameter is required, Lingo highlights the first one for you, so all you have to do is type to replace it. You must select and change the other parameters yourself.

Some cast member types and scripting Xtras provide Lingo terms that do not appear in the Lingo menus. These member types and Xtras often have their own documentation, and you can find some information from within Director.

To display a list of available Xtras:

Issue the command showXlib in the Message window.

To display a list of methods for an Xtra:

Issue the command put mmessageList("XtraName") in the Message window.