Objects Overview

OLE Automation provides access to objects in other applications. Each object supports a particular set of methods and properties. Each method/property has zero or more parameters. Parameters may be optional, in which case the parameter can be specified by using name := value.
objexpr.method [expr][, ...] [param := expr][,...]
Call method for objexpr.
objexpr.method[([expr][, ...] [param := expr][,...])]
Return the value of method for objexpr.
objexpr.property[([expr][, ...] [param := expr][,...])]
Return the value of property for objexpr.
objexpr[([expr][, ...] [param := expr][,...])]
Return the default value for the objexpr.
objexpr.property[([expr][, ...])] = expr
Assign the value of property for objexpr.
objexpr[([expr][, ...])] = expr
Assign the default value for the objexpr.
•Set objexpr.property[([expr][, ...])] = objexpr
Set the object reference of property for objexpr.
 
Note: objexpr!name is short hand for objexpr.defaultproperty("name"). Use objexpr![name] if name contains any characters that are not allowed in an identifier.