You are here: Lua Scripting Resources eGuide > Lua Scripting API Reference Guide > Event Handling > save

8.41 save

on.save()

This routine is called when the script app is saved to the document or copied to the Clipboard. The script should return a table of data needed to properly restore when the on.restore event handler is called.

Introduced in platform.apiLevel = '1.0'