Hi *,

Working in Notes script, I work with a COM-object

  Set oOOoServiceManager =
    CreateObject("com.sun.star.ServiceManager")

This servicemanager is used to create the desktop, to launch documents on
which many actions are done.

  Set OfficeApp  =
   oOOoServiceManager .createInstance("com.sun.star.frame.Desktop")

So far so good.
Now in order to copy paste some things, I need a dispatchHelper.
AFAICF, this should work as follows:

  Set oDispatcher =
    oOOoServiceManager.createInstance("com.sun.star.frame.DispatchHelper")

Alas: Notes replies with "OLE: Automation object error .. " at this line.

Nothing that I could find in the archives gives an explanation.
Any hints?

Thanks,
Cor



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to