Specifications

OLE reference
Gallagher & Robertson Glink: API reference manual 137
Glink.Auto OLE Automation
Overview
OLE (Object Linking and Embedding) allows you to manipulate objects from
other applications using the Component Object Model (COM). COM defines
how objects interact between applications.
OLE Automation makes use of this model by not only allowing external
applications to manipulate the server application in a predefined way but also
allowing the external application (known as the Automation controller) to
inquire dynamically as to what functionality is available. This is done through a
standard mechanism called the Idispatch interface.
An Automation server is always identified by a unique 'class' which allows you
to access a copy of the application that supports it. Each Automation server may
define two types of members that you can expose from its object:
Methods perform an action on an object. For example, Glink script
commands or menu commands.
Properties are characteristics of an object - For example, Glink internal or
global variables.
An Automation server exposes its objects for use by Automation controller
client applications. It is then up to the clients to request and manipulate the
server's objects.
Automation Controller
The Glink script command OLE allows Glink to become an OLE Automation
controller
OLE CREATE OleID "class.name"
OLE CONNECT OleID "class.name"
OLE GET %v OleID.Property
OLE SET OleID.Property value
OLE CALL OleID.Method