cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can change your system assigned username to something more personal in your community settings. X

Retrieve list of all open files in Editor via COM

MathiasH
1-Visitor

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.

ACCEPTED SOLUTION

Accepted Solutions
lfraley
12-Amethyst
(To:MathiasH)

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

View solution in original post

2 REPLIES 2
lfraley
12-Amethyst
(To:MathiasH)

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

ACL works fine. Thanks!

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

Announcements

Top Tags