Satimage Previous
Attaching a script to a graphical object
Home Documentation SmileLab Scripting Customizing graph's interface Attaching a script to a graphical object  

You can attach a script to a graphic window or to any graphic view. To edit an object's script, pull down the Graphs ▸ Edit script menu and choose the object to edit.

Smile opens the object's script in a script window. Using the File ▸ Save menu command updates the object's script: the changes are effective immediately. To save your work to disk - including the scripts - save the graphic window as a bundle.

By default, the script of a graphic window is empty. To preserve the script you must save the document as a bundle.
Copyright ©2008 Paris, Satimage