Subject: Script? Getting fully qualified file names of all files of an project [Print This Page] Author:
cnpackfan Time: 2011-3-25 06:23 Subject: Script? Getting fully qualified file names of all files of an project
Hello again,
I'm looking for a way to get the fully qualified file names of all files of an project, mainly the source and header files. As a short term solution I'm looking for a script which copies the names to the clipboard. I can write it for the community, but need some suppport for starting. Another approach would be using the Source Statistics Wizard and add that functionality.
@ Passion and all the others: Thanks for that great tool!
Many thanks and greetings
cnpackfanAuthor:
Passion Time: 2011-3-27 20:01
There's a Demo named OTADemo1.pas in PSDemo directory. It provides a way how to list all files of a project or projectgroup, or just opened files. But now it seems only works fine under Delphi 7 or above.
In BDS, maybe the Pascal Scrpit Engine has a bug that we can't get project modules. We're doing some research to avoid this problem.Author:
Passion Time: 2011-4-1 20:40
We add some aux funtions in 0.9.7.598 nightly build. If this version installed, below script can be used to walk all module files from the project group.
{*******************************************************}
{ }
{ Pascal Script Source File }
{ Run by RemObjects Pascal Script in CnWizards }
{ }
{ Generated by CnPack IDE Wizards }
{ }
{*******************************************************}