variable saving address

crispypancakes's icon

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.

pdelges's icon

Maybe with textedit?

p

leafcutter's icon

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.

Max Patch
Copy patch and select New From Clipboard in Max.

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.

crispypancakes's icon

thank you very much, this is excellently adaptable.

pdelges's icon

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

crispypancakes's icon

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