default location for opendialog?

May 8, 2006 at 11:47am

default location for opendialog?

Hello,

I’d like to launch some opendialog objects with a default location,
to avoid to navigate among different directories as I know the exact
path to search in. With ‘path’ -> [thispatcher] I easily get the
parent directory of subdirectories I’m interested in (like “Audio”,
“Colors”,”Presets” or “Scores”). But I don’t know how to use these
paths with the opendialog objects I use. Do someone know?

Thanks,
kb

#25840
May 8, 2006 at 12:25pm

hi,

I don’t think opendialog allows a specific path as input – at least
if it’s the case, I missed the info in the doc. But if you know the
path you want to search in, you can cook something with ubumenu and/
or dropfile. There’s an exemple in the help patch of ubumenu
(‘prefix’ message). Then you could easily have a bpatcher to paste in
every of your patches. Would this do the job ?

hth,

Julien.

#76571
May 9, 2006 at 8:04am

Hi,

I succesfully tried your tip!
I now use ‘path’ -> [thispatcher] -> [sprintf "%sMyFolder"] ->
[prepend prefix] – > [ubumenu]…

Thank you!
Karim

#76572

You must be logged in to reply to this topic.