Binding Views Objects
To use Views objects, such as gadgets and panels, in Script, you must make these objects accessible using a binding procedure. To bind an object:
-
First get a Script context. This is described in Getting the Global Script Context .
-
Invoke the bind method, discussed in Binding Views Objects .
A bound object becomes accessible from Script.