Hi Guys
You can do this with Pd as in attached.
mvh/sLp
Hans Roels skrev:
Has somebody made a python script to extract all the comments from a pd file? that could save time when f.e. converting a pd help file with a lot of seperate comments to a text or pdf file. It can't be much work but maybe someone has made this already...
Hans r
At 08:09 27/05/2008, you wrote:
Javier Garcia wrote:
Hii,
any way to copy the pd commets (Ctrl+5) to paste then to the Text Editor for example??
select, the Ctrl-T and proceed...
mfgasd.r IOhannes
#N canvas 581 35 685 686 12; #X obj 246 113 openpanel; #X obj 246 174 textfile; #X msg 246 142 read $1 , rewind , bang; #X obj 246 203 route #X; #X obj 309 231 t b; #X obj 309 258 s $0-next; #X obj 161 113 r $0-next; #X obj 161 142 del 4; #X obj 321 321 t b; #X obj 321 348 s $0-next; #X obj 246 293 route text; #X obj 246 394 list split 2; #X obj 326 550 textfile; #X obj 291 430 list prepend add; #X obj 291 516 t b a; #X obj 291 588 s $0-next; #X obj 291 463 list trim; #X msg 98 292 write $1.txt; #X obj 98 242 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; #X obj 246 59 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; #X obj 246 83 t b b; #X msg 517 366 clear; #X obj 98 267 symbol; #X text 277 54 open file; #X text 10 240 write text; #X text 439 430 or add2; #X connect 0 0 2 0; #X connect 0 0 22 1; #X connect 1 0 3 0; #X connect 2 0 1 0; #X connect 3 0 10 0; #X connect 3 1 4 0; #X connect 4 0 5 0; #X connect 6 0 7 0; #X connect 7 0 1 0; #X connect 8 0 9 0; #X connect 10 0 11 0; #X connect 10 1 8 0; #X connect 11 1 13 0; #X connect 13 0 16 0; #X connect 14 0 15 0; #X connect 14 1 12 0; #X connect 16 0 14 0; #X connect 17 0 12 0; #X connect 18 0 22 0; #X connect 19 0 20 0; #X connect 20 0 0 0; #X connect 20 1 21 0; #X connect 21 0 12 0; #X connect 22 0 17 0;