You are here: Writing Lua Scripts

Writing Lua Scripts

The Script Editor allows you to create and deliver dynamically linked simulations, powerful and flexible utilities, and other educational content for exploring math and science concepts. When you open a document containing a script, the script runs automatically as programmed. To see the running script application, the page containing the script application must be active.

The Script Editor is directed toward teachers and other authors who are comfortable working in a Lua scripting environment. Lua is a powerful, fast, lightweight scripting language that is fully supported in TI‑Nspire™ and PublishView™ documents. Documents containing script applications can be opened on TI‑Nspire™ handhelds. The script application runs on a handheld, but you cannot view or edit the script.

Note these resources for using the Script Editor and creating scripts:

Press F1 to access the TI‑Nspire™ help, which includes the Script Editor help.
Press F2 for additional TI‑Nspire™ resources such as scripting samples and a link to the TI‑Nspire™ Scripting API library. (This information is also available at education.ti.com/nspire/scripting.)
Go to lua.org for more information about Lua.

Topic Links

Overview of the Script Editor

Exploring the Script Editor Interface

Using the Toolbar

Inserting New Scripts

Editing Scripts

Changing View Options

Setting Minimum API Level

Saving Script Applications

Managing Images

Setting Script Permissions

Debugging Scripts

 

© 2006 - 2015 Texas Instruments Incorporated