Forums > MaxMSP

how to append and prepend " ( quotation marks )

August 4, 2012 | 4:46 pm

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


August 4, 2012 | 4:52 pm

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

any help?

thanks

a.


August 4, 2012 | 5:15 pm

How about this?

– Pasted Max Patch, click to expand. –

HTH,
Ádám


August 4, 2012 | 5:22 pm

It depends what your eventual destination (use) is.

– Pasted Max Patch, click to expand. –

August 5, 2012 | 10:11 am

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


August 5, 2012 | 10:40 am

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.


August 5, 2012 | 10:47 am

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


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