variable saving address

Nov 23, 2012 at 1:06pm

variable saving address

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.

#65327
Nov 23, 2012 at 1:45pm

Maybe with textedit?

p

#235446
Nov 23, 2012 at 1:47pm

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. –
#235447
Nov 23, 2012 at 1:52pm

thank you very much, this is excellently adaptable.

#235448
Nov 23, 2012 at 2:29pm

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

#235449
Nov 27, 2012 at 10:30am

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

#235450

You must be logged in to reply to this topic.