#N canvas 491 50 635 344 12;
#X obj 63 254 print;
#X text 23 310 see also:;
#X obj 63 199 savepanel;
#X obj 97 309 openpanel;
#X obj 23 11 savepanel;
#X text 98 10 - query you for the name of a file to create;
#X msg 80 139 symbol /tmp;
#X msg 89 169 symbol ../;
#X text 415 309 updated for Pd version 0.48;
#X symbolatom 63 226 75 0 0 0 - - - 0;
#N canvas 708 227 389 296 current-directory 0;
#X obj 155 149 pdcontrol;
#X msg 155 119 dir;
#X obj 155 219 print;
#X obj 155 185 savepanel;
#X text 47 34 With the 'dir' message to the [pdcontrol] object \, you can make [savepanel] open the current directory for querying for files., f 41;
#X connect 0 0 3 0;
#X connect 1 0 0 0;
#X connect 3 0 2 0;
#X restore 348 159 pd current-directory;
#X obj 175 309 pdcontrol;
#N canvas 719 102 583 215 reference 0;
#X obj 18 52 cnv 5 550 5 empty empty INLET: 8 18 0 13 #202020 #000000 0;
#X obj 18 115 cnv 2 550 2 empty empty OUTLET: 8 12 0 13 #202020 #000000 0;
#X obj 18 152 cnv 2 550 2 empty empty ARGUMENT: 8 12 0 13 #202020 #000000 0;
#X obj 17 186 cnv 5 550 5 empty empty empty 8 18 0 13 #202020 #000000 0;
#X text 113 66 bang -;
#X text 99 85 symbol -;
#X obj 38 18 savepanel;
#X text 113 17 - query you for the name of a file to create.;
#X text 163 66 open dialog window to choose a file name to save to.;
#X text 126 159 NONE, f 45;
#X text 129 125 symbol - file name., f 54;
#X text 163 85 set starting directory and open dialog window., f 50;
#X restore 452 11 pd reference;
#X text 550 12 <= click;
#X obj 5 45 cnv 1 625 1 empty empty empty 8 12 0 13 #000000 #000000 0;
#X obj 5 293 cnv 1 625 1 empty empty empty 8 12 0 13 #000000 #000000 0;
#X obj 63 110 bng 19 250 50 0 empty empty empty 17 7 0 10 #dfdfdf #000000 #000000;
#X text 89 110 open "save as" dialog;
#X text 174 142 Starts dialog in specified directory, f 13;
#X text 50 63 When [savepanel] gets a "bang" a "Save As" file browser appears on the screen \, If you choose a filename \, it appears on the outlet., f 70;
#X connect 2 0 9 0;
#X connect 6 0 2 0;
#X connect 7 0 2 0;
#X connect 9 0 0 0;
#X connect 16 0 2 0;
