Forums > MaxMSP

autopopulate ubu, jpeg

October 28, 2008 | 5:06 pm

Hi,

I’m trying to fill an ubu with the .jpg file attached

There is the mention
max fileformat .jpeg JPEG;
max fileformat .jpg JPEG;
in my max-fileformats.txt init

and I can’t see my ubu filled with this file.
Does it come from the file itself?

#P window setfont "Sans Serif" 9.;
#P user ubumenu 60 101 100 196617 0 1 1 0;
#X types JPEG;
#X prefix_set 0 1 kyred:/Users/derrickgiscloux/Desktop/ 0;
#P window linecount 1;
#N vpatcher 135 148 840 361;
#P window setfont "Sans Serif" 14.;
#P message 290 85 87 196622 types JPEG;
#P newex 50 56 117 196622 opendialog fold;
#P message 171 84 116 196622 autopopulate 1;
#P newex 50 82 114 196622 prepend prefix;
#P inlet 50 30 15 0;
#P outlet 50 116 15 0;
#P connect 1 0 4 0;
#P connect 4 0 2 0;
#P connect 2 0 0 0;
#P fasten 3 0 0 0 176 111 55 111;
#P fasten 5 0 0 0 295 111 55 111;
#P fasten 1 0 3 0 55 49 176 49;
#P connect 1 0 5 0;
#P pop;
#P newobj 60 77 92 196617 p charger_dossier;
#P button 60 60 15 0;
#P connect 0 0 1 0;
#P connect 1 0 2 0;
#P window clipboard copycount 3;


October 28, 2008 | 5:52 pm

If you use the "fold" argument with [opendialog] then you can only select folders rather than individual files but if you chose the folder containing your jpg or remove the word "fold" it should work. I’m having no problems here on Max 5.0.4 on OS 10.4.11

lh


Viewing 2 posts - 1 through 2 (of 2 total)