List of Open Documents

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, MudGuard

Post Reply
kaboomer13
Posts: 2
Joined: Thu Sep 01, 2011 2:53 pm

List of Open Documents

Post by kaboomer13 »

I am writing a tool using a combination of Windows batch scripting, Python and Visual C# and I was wondering if it is possible to get the list of files currently open. I realize that there is no macro ($file, etc). Is there any way by any means?

Thanks,
Ben
User avatar
helios
Posts: 711
Joined: Sun Mar 02, 2003 5:52 pm
Location: Helios Software Solutions
Contact:

Post by helios »

From the Edit menu, choose Copy Other/All File Names.

I hope this helps.
Helios Software Solutions
kaboomer13
Posts: 2
Joined: Thu Sep 01, 2011 2:53 pm

Post by kaboomer13 »

Thank you, that is a way that it can be done. I will have to use some Windows API to get focus back to TextPad (fortunately I have the window's handle) and then do some key simulation (I can put that function on a Hot key). It is a bit more work and risky than I was hoping, but I'll take what I can get,

thank you.
Ben
Post Reply