Forums > MaxMSP

easy? or not so easy?

Feb 21 2010 | 12:41 pm

how do i put a "/" at the end of a filepath without having a space? for instance:

i want it to look like this

tsc HD:/visuals/1/

but i can only get it to look like this(spaces around number)

tsc HD:/visuals/ 1 /

i am trying to easily navigate through folders of videos that get triggered by my monome without having to click and search when i need them… im having trouble trying to figure out how to explain this dilemma, so here it goes:

i want to somehow accomplish this

tsc HD:/visuals/$1/

so that any number i send to that object will navigate to corresponding numbered folders located within my visuals folder on my HD

also, i havent found much info on the difference in arguments for the filepath object.

can anyone shed some light?

Feb 21 2010 | 12:49 pm

You can do it like this with combine:

-- Pasted Max Patch, click to expand. --

Feb 21 2010 | 12:49 pm

In order of difficulty to master:

[combine] or [sprintf] with symout as an argument, or [regexp]

Check the help files or the search the forum on these – comes up quite a bit.

In fact, just looking at the [combine] helpfile I can’t think of a compelling reason to use the others. It was new to max5, and as I’ve needed to work between max5 and max 4 for some stuff there are a few objects I never really got into…



Feb 21 2010 | 12:56 pm

thanks amigos!

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

Forums > MaxMSP