You can also do the "app from a patch" under the File menu, which will create a custom Pd-extended.app for you, with custom prefs in the plist file. Then edit the included plist file, and you have a self-contained custom Pd.app with your patch.
.hc On 09/12/2012 06:07 AM, Nicolas Montgermont wrote: > Hello, > > There is some other possibilities on osx, > To use two different preferences files, make sure you have no > preference file saved locally (in > ~/Library/Preferences/org.puredata.pdextended.plist) > In this case Pd-extended search for its default preference file inside > itself in: > /Applications/Pd-extended.app/Contents/org.puredata.pdextended.default.plist > > So if you duplicate the application Pd-extended.app for example in > Pd-extended-audio.app, you'll have two different preference files. > > Otherwise, you can save in a patch informations regarding the > audio/midi configuration, see for example > [get-audio-dialog] > from pdx, then you can launch two instance of pd (with command line) > with two different patches and settings. > best, > n > > Le 12/09/12 10:39, Olivier Heinry a écrit : >> Le 12/09/2012 10:25, Charles Goyard a écrit : >>> Hi, >>> >>> Miller Puckette wrote: >>>> Now here's a question - wouldn't it be nice to be able to have Pd >>>> automatically >>>> do this by (for instance) looking at the app's name and using that >>>> to figure >>>> out what preferences to load? On the other hand, maybe in other >>>> circumstances >>>> you woudn't want that behavior... hmm. >>> What about a -preffile command-line option ? >> There are already many possibilities with some shell scripting (even on >> a Mac) : >> >> echo "Starting the right Pd v-model" >> >> /Applications/Pd-extended.app/Contents/Resources/bin/pd -nomidi >> -noaudio -open v-right-model.pd -send "preset-file >> ../video-presets/right.coll;" & >> >> echo "Starting the left Pd v-model"; >> >> /Applications/Pd-extended.app/Contents/Resources/bin/pd -stderr >> -nomidi -noaudio -open v-left-model.pd -send "preset-file >> ../video-presets/left.coll;" & >> >> >> But i agree a specific -preffile option would be great. >> >> OH >> >>> >>> _______________________________________________ >>> [email protected] mailing list >>> UNSUBSCRIBE and account-management -> >>> http://lists.puredata.info/listinfo/pd-list >> > _______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
