Page 1 of 1
List of Open Documents
Posted: Thu Sep 01, 2011 2:56 pm
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
Posted: Thu Sep 01, 2011 4:45 pm
by helios
From the Edit menu, choose Copy Other/All File Names.
I hope this helps.
Posted: Fri Sep 02, 2011 4:04 pm
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