[PD] "Open file" in specific directory

dmotd inaudible at simplesuperlativ.es
Tue Mar 23 04:57:22 CET 2010


the open dialog's path starts from wherever pd was launched,
and if you are launching pd from a menu item, then it starts
from where the desktop manager was launched etc etc..

you can test this out by launching pd from a console,
starting at the folder you desire. if you need this to
always be the case create a wrapper shell script for pd
which changes directory (cd /path/) previous to launching,
or simply create an alias to pd in your .bashrc :

  alias pd='cd /usr/lib/pd ; pd ; cd $OLD_PWD'

--

meino.cramer at gmx.de wrote:
> Hi Inaudible,
> 
> ...sorry...I meant the "Open"-dialog, which
> I can access via the menu in the console panel.
> That I hadnt clearly said...
> 
> 
> 
> dmotd <inaudible at simplesuperlativ.es> [10-03-23 04:24]:
> > send [openpanel] a symbol of the path to its inlet.
> > 
> > [symbol /usr/lib/pd [
> > |
> > [openpanel]
> > 
> > --
> > 
> > meino.cramer at gmx.de wrote:
> > > 
> > > Hi,
> > > 
> > >  how can I convince pd-extended to start the fileselector
> > >  box in a specific directory which is not my $HOME ?
> > >  (I am using pd-extended on Linux).
> > > 
> > >  Thank you very much in advance for your help!
> > >  Best regards,
> > >  mcc
> > > 
> > > -- 
> > > Please don't send me any Word- or Powerpoint-Attachments
> > > unless it's absolutely neccessary. - Send simply Text.
> > > See http://www.gnu.org/philosophy/no-word-attachments.html
> > > In a world without fences and walls nobody needs gates and windows.
> > > 
> > > 
> > > _______________________________________________
> > > Pd-list at iem.at mailing list
> > > UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
> > 
> > _______________________________________________
> > Pd-list at iem.at mailing list
> > UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
> > 
> 
> -- 
> Please don't send me any Word- or Powerpoint-Attachments
> unless it's absolutely neccessary. - Send simply Text.
> See http://www.gnu.org/philosophy/no-word-attachments.html
> In a world without fences and walls nobody needs gates and windows.
> 
> 
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list




More information about the Pd-list mailing list