1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62
|
#N canvas 499 27 538 647 12;
#X obj 87 280 openpanel;
#X text 11 601 see also:;
#X obj 81 602 savepanel;
#X msg 103 174 symbol /tmp;
#X msg 113 200 symbol C:/;
#X obj 233 468 openpanel 1;
#X obj 355 468 openpanel 2;
#X text 231 419 directory;
#X text 354 419 multiple files;
#X obj 108 468 openpanel 0;
#X obj 23 13 openpanel;
#X text 96 13 - query for files or directories;
#X text 56 372 A mode argument allow you to select a directory or multiple files. See below;
#X text 86 417 file (default);
#X text 198 177 Start in a specified directory given as a symbol, f 31;
#X symbolatom 87 309 60 0 0 0 - - - 0;
#N canvas 683 137 587 238 reference 0;
#X obj 18 52 cnv 5 550 5 empty empty INLET: 8 18 0 13 #202020 #000000 0;
#X obj 18 119 cnv 2 550 2 empty empty OUTLET: 8 12 0 13 #202020 #000000 0;
#X obj 18 157 cnv 2 550 2 empty empty ARGUMENT: 8 12 0 13 #202020 #000000 0;
#X obj 17 211 cnv 5 550 5 empty empty empty 8 18 0 13 #202020 #000000 0;
#X text 123 66 bang -;
#X obj 40 18 openpanel;
#X text 173 66 open dialog window to choose file(s) or directory.;
#X text 109 85 symbol -;
#X text 113 18 - query for files or directories.;
#X text 173 85 set starting directory and open dialog window., f 50;
#X text 52 184 1) float - mode: 0 (file \, default) \, 1 (directory) \, 2 (multiple files)., f 71;
#X text 139 130 symbol - directory or file names., f 54;
#X restore 361 14 pd reference;
#X text 456 15 <= click;
#X obj 8 45 cnv 1 525 1 empty empty empty 8 12 0 13 #000000 #000000 0;
#X obj 8 589 cnv 1 525 1 empty empty empty 8 12 0 13 #000000 #000000 0;
#X obj 87 136 bng 19 250 50 0 empty empty empty 17 7 0 10 #dfdfdf #000000 #000000;
#X obj 233 440 bng 19 250 50 0 empty empty empty 17 7 0 10 #dfdfdf #000000 #000000;
#X obj 355 440 bng 19 250 50 0 empty empty empty 17 7 0 10 #dfdfdf #000000 #000000;
#X obj 108 440 bng 19 250 50 0 empty empty empty 17 7 0 10 #dfdfdf #000000 #000000;
#X obj 108 495 print file;
#X obj 233 495 print dir;
#X obj 355 495 print multiple;
#X obj 87 336 print openpanel;
#X text 310 602 updated for Pd version 0.55-0;
#X msg 124 241 symbol ~;
#X text 115 136 Starts in current patch's directory by default.;
#X text 196 235 The "~" symbol expands to the home directory, f 22;
#X obj 153 602 soundfiler;
#X obj 233 602 readsf~;
#X text 51 530 You can use this object to feed file names to objects like [readsf~] \, [soundfiler] \, [array] \, [text] and others.;
#X text 53 64 When [openpanel] gets a "bang" \, a file browser appears on the screen. By default \, if you select a file \, its name appears on the outlet.;
#X connect 0 0 15 0;
#X connect 3 0 0 0;
#X connect 4 0 0 0;
#X connect 5 0 25 0;
#X connect 6 0 26 0;
#X connect 9 0 24 0;
#X connect 15 0 27 0;
#X connect 20 0 0 0;
#X connect 21 0 5 0;
#X connect 22 0 6 0;
#X connect 23 0 9 0;
#X connect 29 0 0 0;
|