The easiest question in the world part 3

Nov 15, 2007 at 10:39pm

The easiest question in the world part 3

I am so close to finishing my program and i have one very small minor problem that is painfully causing me to have convulsions

very simply put i have an append object that will append a message to a message box already containing a message but when i do this it leaves a space between the original message and the appended message.

i need to have the appended message come directly after the original message with no space in between can someone please save me? : o /

imsoconfused84…
sincerely

#34621
Nov 15, 2007 at 10:46pm

Look at the sprintf object. That’s helped me in any message format problems I’ve had in the past.

#117171
Nov 15, 2007 at 10:57pm

#117172
Nov 17, 2007 at 9:22am

imconfused84 schrieb:
> i need to have the appended message come directly after the original
> message with no space in between can someone please save me? : o /

This comes up every week… (And is answered a billion times in the
archives…)

Save this as ” max-look-up” and place it into your extras folder. Each
time you get stuck get to it and search… Then if it doesn’t yield any
result, ask…

Thanks to Mathieu Chamagne for creating this beauty…

Stefan

#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P hidden newex 97 152 50 196617 onecopy;
#P user umenu 0 24 46 196647 1 64 40 1;
#X add AND;
#X add OR;
#P user umenu 98 24 118 196647 1 64 40 1;
#X add http://www.maxobjects.com;
#X add Max/MSP mail archive;
#P hidden newex 262 6 44 196617 loadbang;
#P window linecount 2;
#P hidden message 269 34 79 196617 brgb 120 120 120;
#P hidden message 251 90 174 196617 window size 410 40 650 80 , window
exec;
#P hidden message 291 65 214 196617 window flags nogrow , savewindow 1
, window exec;
#P window linecount 1;
#P hidden message 25 27 158 196617 window flags grow , window exec;
#N thispatcher;
#Q window flags nogrow close zoom nofloat;
#Q window size 410 40 650 80;
#Q window title;
#Q window exec;
#Q savewindow 1;
#Q end;
#P hidden newobj 269 130 59 196617 thispatcher;
#P window linecount 2;
#P hidden newex -17 214 352 196617 sprintf
http://www.google.com/search?as_q=%s&as_sitesearch=synthesisters.com;
#P window linecount 1;
#P hidden newex 220 24 24 196617 t 13;
#P window linecount 2;
#P hidden newex 104 55 111 196617 if $i1 == 13 then 1 else 0;
#P window linecount 1;
#P hidden newex -17 88 27 196617 gate;
#P window linecount 2;
#P hidden newex 0 60 44 196617 route text;
#P button 219 3 19 10;
#P window setfont “Sans Serif” 10.;
#P user textedit 0 1 218 22 32948 3 10;
#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P hidden newex 97 101 27 196617 + 1;
#P hidden newex -40 137 33 196617 gate 2;
#P hidden newex -80 -15 44 196617 loadbang;
#P hidden newex -40 275 53 196617 launchURL;
#B color 5;
#P window linecount 2;
#P hidden message -80 88 54 196617 separator +;
#P window linecount 1;
#P hidden newex -17 111 49 196617 tosymbol;
#B color 5;
#P window linecount 2;
#P hidden newex -40 183 312 196617 sprintf
http://www.maxobjects.com/index.php?request=%s&operateur=%s;
#P window linecount 1;
#P comment 47 24 53 196617 search in :;
#P comment 217 26 32 196617 v1.1;
#P hidden connect 21 0 19 0;
#P hidden connect 21 0 20 0;
#P hidden connect 21 0 18 0;
#P hidden connect 19 0 16 0;
#P hidden connect 17 0 16 0;
#P hidden connect 18 0 16 0;
#P hidden connect 20 0 16 0;
#P hidden connect 23 1 2 1;
#P hidden connect 10 0 9 0;
#P hidden connect 10 0 14 0;
#P hidden connect 9 1 13 0;
#P hidden fasten 14 0 13 0 225 50 109 50;
#P hidden connect 6 0 4 0;
#P hidden connect 6 0 23 0;
#P hidden connect 6 0 22 0;
#P hidden connect 22 0 8 0;
#P hidden connect 11 0 12 1;
#P hidden connect 9 0 11 0;
#P hidden connect 7 1 15 0;
#P hidden connect 3 0 7 1;
#P hidden fasten 4 0 3 0 -75 109 -12 109;
#P hidden connect 12 0 3 0;
#P hidden fasten 13 0 12 0 109 82 -12 82;
#P hidden connect 15 0 5 0;
#P hidden connect 2 0 5 0;
#P hidden connect 7 0 2 0;
#P hidden fasten 8 0 7 0 102 133 -35 133;
#P window clipboard copycount 25;

Stefan


Stefan Tiedje————x——-
–_____———–|————–
–(_|_ —-|—–|—–()——-
– _|_)—-|—–()————–
———-()——–www.ccmix.com

#117173
Nov 17, 2007 at 8:09pm

This requires launchurl which seems to be broken.

On 11/17/07 4:22 AM, “Stefan Tiedje” wrote:

> imconfused84 schrieb:
>> i need to have the appended message come directly after the original
>> message with no space in between can someone please save me? : o /
>
> This comes up every week… (And is answered a billion times in the
> archives…)
>
> Save this as ” max-look-up” and place it into your extras folder. Each
> time you get stuck get to it and search… Then if it doesn’t yield any
> result, ask…
>
> Thanks to Mathieu Chamagne for creating this beauty…
>
> Stefan
>
> #P window setfont “Sans Serif” 9.;
> #P window linecount 1;
> #P hidden newex 97 152 50 196617 onecopy;
> #P user umenu 0 24 46 196647 1 64 40 1;
> #X add AND;
> #X add OR;
> #P user umenu 98 24 118 196647 1 64 40 1;
> #X add http://www.maxobjects.com;
> #X add Max/MSP mail archive;
> #P hidden newex 262 6 44 196617 loadbang;
> #P window linecount 2;
> #P hidden message 269 34 79 196617 brgb 120 120 120;
> #P hidden message 251 90 174 196617 window size 410 40 650 80 , window
> exec;
> #P hidden message 291 65 214 196617 window flags nogrow , savewindow 1
> , window exec;
> #P window linecount 1;
> #P hidden message 25 27 158 196617 window flags grow , window exec;
> #N thispatcher;
> #Q window flags nogrow close zoom nofloat;
> #Q window size 410 40 650 80;
> #Q window title;
> #Q window exec;
> #Q savewindow 1;
> #Q end;
> #P hidden newobj 269 130 59 196617 thispatcher;
> #P window linecount 2;
> #P hidden newex -17 214 352 196617 sprintf
> http://www.google.com/search?as_q=%s&as_sitesearch=synthesisters.com;
> #P window linecount 1;
> #P hidden newex 220 24 24 196617 t 13;
> #P window linecount 2;
> #P hidden newex 104 55 111 196617 if $i1 == 13 then 1 else 0;
> #P window linecount 1;
> #P hidden newex -17 88 27 196617 gate;
> #P window linecount 2;
> #P hidden newex 0 60 44 196617 route text;
> #P button 219 3 19 10;
> #P window setfont “Sans Serif” 10.;
> #P user textedit 0 1 218 22 32948 3 10;
> #P window setfont “Sans Serif” 9.;
> #P window linecount 1;
> #P hidden newex 97 101 27 196617 + 1;
> #P hidden newex -40 137 33 196617 gate 2;
> #P hidden newex -80 -15 44 196617 loadbang;
> #P hidden newex -40 275 53 196617 launchURL;
> #B color 5;
> #P window linecount 2;
> #P hidden message -80 88 54 196617 separator +;
> #P window linecount 1;
> #P hidden newex -17 111 49 196617 tosymbol;
> #B color 5;
> #P window linecount 2;
> #P hidden newex -40 183 312 196617 sprintf
> http://www.maxobjects.com/index.php?request=%s&operateur=%s;
> #P window linecount 1;
> #P comment 47 24 53 196617 search in :;
> #P comment 217 26 32 196617 v1.1;
> #P hidden connect 21 0 19 0;
> #P hidden connect 21 0 20 0;
> #P hidden connect 21 0 18 0;
> #P hidden connect 19 0 16 0;
> #P hidden connect 17 0 16 0;
> #P hidden connect 18 0 16 0;
> #P hidden connect 20 0 16 0;
> #P hidden connect 23 1 2 1;
> #P hidden connect 10 0 9 0;
> #P hidden connect 10 0 14 0;
> #P hidden connect 9 1 13 0;
> #P hidden fasten 14 0 13 0 225 50 109 50;
> #P hidden connect 6 0 4 0;
> #P hidden connect 6 0 23 0;
> #P hidden connect 6 0 22 0;
> #P hidden connect 22 0 8 0;
> #P hidden connect 11 0 12 1;
> #P hidden connect 9 0 11 0;
> #P hidden connect 7 1 15 0;
> #P hidden connect 3 0 7 1;
> #P hidden fasten 4 0 3 0 -75 109 -12 109;
> #P hidden connect 12 0 3 0;
> #P hidden fasten 13 0 12 0 109 82 -12 82;
> #P hidden connect 15 0 5 0;
> #P hidden connect 2 0 5 0;
> #P hidden connect 7 0 2 0;
> #P hidden fasten 8 0 7 0 102 133 -35 133;
> #P window clipboard copycount 25;
>
>
> Stefan

Cheers
Gary Lee Nelson
Oberlin College
http://www.timara.oberlin.edu/GaryLeeNelson

#117174

You must be logged in to reply to this topic.