O'Reilly logo

Anime Studio™ 6: The Official Guide by Kelly L. Murdock

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using Script-Writing Scripts

Another category that is helpful as you begin to write scripts is the script-writing scripts. These simple scripts show you how to accomplish certain tasks like making an alert box appear or printing debugging messages to the Lua Console.

Note

The Scripts menu is only available in Anime Studio Pro.

The Alert Test script opens a warning dialog box. You can look at the script syntax to produce this alert box by opening the lm_alert.lua script file found in the Scripts, Menu, Script Writing folder where Anime Studio is installed. It can be opened into a simple text editor. Figure 37.1 shows this simple script.

Figure 37.1. lm_alert.lua script.

The result of this script is shown in Figure 37.2 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required