how to append and prepend " ( quotation marks )

Aug 4, 2012 at 4:46pm

how to append and prepend " ( quotation marks )

hi guys,
i’m trying to do [append "] and [prepend "]
but the quotation marks does not works.
is there any escape character that i have to put before ” ?

thanks

#63857
Aug 4, 2012 at 4:52pm

just to say that i’m on Windows 7 64 bit.

any help?

thanks

a.

#230285
Aug 4, 2012 at 5:15pm

How about this?

– Pasted Max Patch, click to expand. –

HTH,
Ádám

#230286
Aug 4, 2012 at 5:22pm

It depends what your eventual destination (use) is.

– Pasted Max Patch, click to expand. –
#230287
Aug 5, 2012 at 10:11am

thanks guys!
i was trying to give [folder] object the folder enclosed in quotation marks ( because this is what i’ve first understood from the [folder] help ).
But then i realized that [folder] just wants the path NOT included in quotation marks.

so this is the solution for getting the parent path of a given file dropped on [live.drop]

– Pasted Max Patch, click to expand. –

thanks

#230288
Aug 5, 2012 at 10:40am

nope…folder accepts both styles ( with and without quotations marks )
i guess quotation marks are used when there is some space character in the path name.
the thing is that [folder] seems kind of erratic…no problems with path without space.
But when the path has some space sometimes [folder] works correctly and sometimes not….mmmhhh ( buggity-bug ? )

a.

#230289
Aug 5, 2012 at 10:47am

another update…seems that [folder] does not recognize some file types. i’m sure about .exe and .dll files. they are not recognized. Not to bad. I was only doin’ some experiment. i think nobody will use .exe or .dll files in max patches. but in case somebody want to do it.. well [folder] won’t recognize those file types

#230290

You must be logged in to reply to this topic.