Skip to main content
1-Visitor
December 15, 2010
Solved

Retrieve list of all open files in Editor via COM

  • December 15, 2010
  • 1 reply
  • 2912 views

Hi,

I need to query Arbortext Editor (here: 5.4 MR020) for a list of all open files. Has anyone done this before and can tell me how this can be done?

I already tried to use getDocuments of the Application object (which always returns 4 documents of whom only one is an opened file or stylesheet, regardless how many documents are currently open) and getNextSibling/getPreviousSibling on the result of the getActiveWindow method of the Application object (which returns no siblings at all).*

Thanks in advance and best regards,

Mathias Harbeck

*: I use a COM2Java-Bridge, so the actual methods, properties etc. of the COM interface might be slightly different.

    Best answer by lfraley

    Use ACL. There's a whole library of commands available to let you do this.

    1 reply

    lfraley1-VisitorAnswer
    1-Visitor
    January 14, 2011

    Use ACL. There's a whole library of commands available to let you do this.

    MathiasH1-VisitorAuthor
    1-Visitor
    April 13, 2011

    ACL works fine. Thanks!

    (Sorry for the delay, I had to focus on other work in the last weeks...)