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

Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X

Retrieve list of all open files in Editor via COM

MathiasH
1-Newbie

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.

1 ACCEPTED SOLUTION

Accepted Solutions
lfraley
6-Contributor
(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
6-Contributor
(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...)

Top Tags