Skip to main content
1-Visitor
Dec 15, 2010 12:44 PM UTC
Solved

Retrieve list of all open files in Editor via COM

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.

    lfraleyAnswer
    1-Visitor
    Jan 14, 2011 9:43 PM UTC

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

    2 replies

    lfraley1-VisitorAnswer
    1-Visitor
    Jan 14, 2011 9:43 PM UTC

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

    Translate
    MathiasH1-VisitorAuthor
    1-Visitor
    Apr 13, 2011 9:15 AM UTC

    ACL works fine. Thanks!

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

    Translate