• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 9. Creating Your Own Scriptable Objects > Programming Language Options

Programming Language Options

The technical term for an object that is usable in Windows Script Host programs is Automation object. An Automation object has several required attributes:

  • It's based on the Common Object Model (COM). This means it has a standard interface that lets other Windows programs gain access to its properties and methods.

  • Other programs can “query” the object about its methods and properties. The software has a built-in mechanism for describing its interfaces so that any external program can find out what properties and methods are available, what arguments they take, and what sorts of data values are returned.

  • An object is implemented as a program that represents the object's class; that is, one program takes care of all instances of a given object type.

  • The class program has functions to return each of the object's property values, and it has subroutines that accept new values to assign to the object's properties.

  • A class program has subroutines or functions to implement each of the object's methods. These may take arguments and may return values.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint