Scripting contexts

The context determines which objects can be assigned to a script and which properties and functions are available.