Forums > MaxMSP

default path for savedialog

June 5, 2007 | 9:36 pm

Is there a way to specify the default path that is displayed in the
dialog that appears when the savedialog object is banged? I’ve tried
fully specifying a file path + name using the "name" message, but
that didn’t work…

Thanks,
Dan

Dan Nigrin
Defective Records
202 Hack / PC-1600 User / VSTi Host / OMS Convert / Jack OS X / Major
Malfunction
http://www.defectiverecords.com

http://www.jackosx.com


June 6, 2007 | 10:08 am

That would be a great feature, I don’t think it already exists.

Another one: set the window title of the dialog (such as ‘Choose Save Folder’ instead of ‘Save’)

Both requests also hold for opendialog.

Mattijs

Quote: Dan Nigrin wrote on Tue, 05 June 2007 23:36
—————————————————-
> Is there a way to specify the default path that is displayed in the
> dialog that appears when the savedialog object is banged? I’ve tried
> fully specifying a file path + name using the "name" message, but
> that didn’t work…
>
> Thanks,
> Dan
> —
> Dan Nigrin
> Defective Records
> 202 Hack / PC-1600 User / VSTi Host / OMS Convert / Jack OS X / Major
> Malfunction
> http://www.defectiverecords.com
> http://www.jackosx.com
>
>
—————————————————-


August 21, 2013 | 7:57 pm

Also searching for a way to set the default path when using savedialog. Saw this post from 6 years ago, wondering if there was now a way to do this – maybe someone knows of a Windows external I could use?
I want to strongly encourage (but not insist) that users of my app store presets in a designated preset directory. I could "force" writing to that directory (user only enters a filename and I write it to that directory) but the other problem is that there is not the built-in prompt warning if the file already exists…
Anyone?


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