Author Topic: Small contribution in the form of scripts ...  (Read 5633 times)

Offline LETARTARE

  • Lives here!
  • ****
  • Posts: 531
  • L'ami de l'homme.The friend of man.
    • LETARTARE
Small contribution in the form of scripts ...
« on: January 29, 2013, 01:31:54 pm »
I have used for some time two scripts utility, and I thought they might be
useful to the community.

This is a set of two scripts plugin packaged in 'tools.script'
1 - list all files in a project with their associated targets
Quote
'class ListFilesWithTargets'
2 - list all targets in a project with their associated files
Quote
'class ListTargetsWithFiles'

Orders appear by right clicking on the project name
Quote
'-> List files with targets'
'-> List files with targets'
The lists appear in the console then in a new window in the editor.

If the script console is not open display in the editor is
extremely fast (cb 12.11 : r8628, 1025 files: 1.45 S and 25 targets: 1 S).

This allows either to save in the form of files or print them.

« Last Edit: January 29, 2013, 02:44:14 pm by LETARTARE »
CB-13483, plugins-sdk-2.25.0 : Collector-2.0.0, AddOnForQt-3.9.1
1-Win7 Business Pack1 64bits : wx-3.2.4, gcc-8.1.0,
2-OpenSuse::Leap-15.4-64bits : wx-3.2.4;gtk3, gcc-8.2.1,
=> !! The messages are translated by Deepl

Offline LETARTARE

  • Lives here!
  • ****
  • Posts: 531
  • L'ami de l'homme.The friend of man.
    • LETARTARE
Re: Small contribution in the form of scripts ...
« Reply #1 on: January 31, 2013, 01:41:39 pm »
hello,

ATTENTION !!!!

Win under the project name must not contain illegal character ('::', '' ...)
example:
Quote
Code::Blocks 12.11 wx2.8.x => CodeBlocks_12.11_wx2.8.x

thanks
CB-13483, plugins-sdk-2.25.0 : Collector-2.0.0, AddOnForQt-3.9.1
1-Win7 Business Pack1 64bits : wx-3.2.4, gcc-8.1.0,
2-OpenSuse::Leap-15.4-64bits : wx-3.2.4;gtk3, gcc-8.2.1,
=> !! The messages are translated by Deepl