General XMetaL Discussion
Anonymous December 1, 2011 at 3:51 pm
Can I get word counts for a number of files in one go?December 1, 2011 at 3:51 pmParticipants 0Replies 1Last Activity 10 years, 10 months ago
The word count macro provided in http://forums.xmetal.com/index.php/topic,28.0.html is great, but I want to get the word counts for a large number of files without having to open each one. Is there a way I can do this?
PeteDerek Read December 1, 2011 at 6:54 pm
Reply to: Can I get word counts for a number of files in one go?December 1, 2011 at 6:54 pm
To reuse that macro and extend it to work on multiple files would require each file to be opened and that would be fairly slow I think. An interface for deciding which files to work on would need to be implemented as well. A entirely different macro might be created to do this (perhaps using some 3rd party tool like MSXML to parse the files so that they don't need to be opened and rendered) but I don't think it would be easy.
We are implementing “cross file” capabilities for an upcoming release which will make this type of thing much easier to implement. I will recommend that we consider adding “word count” as one of the standard capabilities.
- You must be logged in to reply to this topic.