Advanced Features
More AppleScript commands
Eventually, every scripter needs functionalities that basic AppleScript does not provide (coercions, maths, handlers on lists É). Smile provides many of them, in one form or another.
- See
Satimage osax
for some basic functions, available from any script editor and applet.
- See
Smile dictionary
and
Smile Coercions
about using Smile as a scriptable application.
- See
routines
for still more commands available in Smile, the handlers contained in the built-in scripts of its objects.
Customizing Smile
You can have Smile run automatically a script, or scripts, when it starts. To perform this, put the script(s) in the 'Initialization' folder of the 'More stuff' folder.
More powerful customizations can be achieved by defining new object classes. See
advanced script handling
.
Building a custom interface
Smile supports several levels of customization on its interface. The documentation below addresses the basic levels.
- See
Scripts menu
about organizing the Scripts menu, using shortcuts, separators and sub-menus.
- See
Sheet
and
Button
about creating a Smile's sheet - a regular text window with custom buttons.
- See
Custom Dialog Box
about creating a custom dialog box.
Inside Smile
It is easier to customize Smile if you are familiar with how Smile works. This is sketched in the documentation below.
- See
Object scripts
about giving scripts to the objects of Smile, like with Hypercard.
- See
Class scripts
about how class behaviors are implemented.