[PD-dev] [ pure-data-Patches-1981332 ] add path arg to openpanel and savepanel

SourceForge.net noreply at sourceforge.net
Mon Jun 2 00:54:47 CEST 2008


Patches item #1981332, was opened at 2008-06-01 10:38
Message generated for change (Comment added) made by eighthave
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=1981332&group_id=55736

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: puredata
Group: feature
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Martin Peach (mrpeach)
Assigned to: Nobody/Anonymous (nobody)
Summary: add path arg to openpanel and savepanel

Initial Comment:
This patch adds a path argument to openpanel and savepanel which is saved whenever the enclosing patch is saved.
I used A_GIMME for the argument, but only a single symbol will be used, any other args will be quietly ignored.



----------------------------------------------------------------------

>Comment By: Hans-Christoph Steiner (eighthave)
Date: 2008-06-01 18:54

Message:
Logged In: YES 
user_id=27104
Originator: NO

how about using all of the arguments as the path name?  That way you can
easily include paths that have spaces in them, which are quite common.  you
can see an example of how to convert the argv t_atom list to a binbuf then
to a string here, in function print_new():

http://pure-data.svn.sourceforge.net/viewvc/pure-data/branches/pd-extended/v0-40/pd/src/x_interface.c?view=markup

Ideally, it would also handle commas, etc.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=1981332&group_id=55736




More information about the Pd-dev mailing list