Forums > MaxMSP

variable saving address


Nov 23 2012 | 1:06 pm

i would like there to be a text box entry to control the name of a text file without there being a save as box opening. something like the $i1 argument which would fit into the message box, like so (write K:/smile/$1/smile) where $1 is a persons name, is this possible with a message box? i cant seem to get it running.

Nov 23 2012 | 1:45 pm

Maybe with textedit?

p

Nov 23 2012 | 1:47 pm

looks like your save path is not correctly formed – write K:/smile/$1/smile would indicate that you have folders for all the different names set. You should also watch out when using paths like that that you handle spaces in the path correctly.

This is a fairly robust and easy to edit way of dealing with paths. Notice how the path output if different if the name has a space in it.


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

Nov 23 2012 | 1:52 pm

thank you very much, this is excellently adaptable.

Nov 23 2012 | 2:29 pm

Looks like I didn’t understand your question. Sorry!

Nov 27 2012 | 10:30 am

is it possible to have Max create a folder on a drive automatically?

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

Forums > MaxMSP