[PD] contextual pdpedia menu link

Luke Iannini (pd) lukexipd at gmail.com
Fri Apr 25 08:57:48 CEST 2008


I mentioned them a week or two ago in another thread; documents in OS
X usually have a little icon in the titlebar that represents the file
being edited; you can drag it to get a reference to the file (for
copying or opening in another application; for Pd files that's awesome
for dragging to your text editor for editing), or you can right click
it to get a context menu with the parent folders up to the root (great
as a "reveal in finder" function).

I attached a patch that should theoretically add support for them as
well as properly showing the "modified" state consistently with the
rest of OS X apps (which dims the proxy icon and adds a dot in the
close button).  But I haven't been able to get it to work with Pd
Vanilla.

I added this to pdtk_canvas_new in my Pd-extended pdtk with static
arguments and the feature does work, so maybe you can try the patch
(my build environment still isn't working):
wm attributes $name -modified 0 -titlepath
{/Users/LukeIannini/PureData/sft/sft.structhausen.pd}
(replace the path with an actual file on your machine of course)

Cheers
Luke

On Thu, Apr 24, 2008 at 8:57 PM, Hans-Christoph Steiner <hans at eds.org> wrote:
>
>  Oops, sorry, I didn't realize that you were working on it.  You still
>  get credit for the idea :).  I think the pdpedia context menu link is
>  still worth doing.
>
>  What are proxy icons?
>
>  .hc
>
>
>
>  On Apr 24, 2008, at 8:24 PM, Luke Iannini (pd) wrote:
>
>  > Arr, I finished this two days ago and got caught up with troubles
>  > recompiling Pd.  Ah well, glad it is done : ).  Thanks for doing it.
>  > On the upside, I discovered how to get OS X proxy icons working in the
>  > process, so I'll still have something to contribute
>  > Cheers
>  > Luke
>  >
>  > On Thu, Apr 24, 2008 at 5:03 PM, Hans-Christoph Steiner
>  > <hans at eds.org> wrote:
>  >>
>  >>  Hey all,
>  >>
>  >>  I just checked in code to make the Pdpedia link in the Help menu try
>  >>  to find the object name if you are looking at a help patch.  If the
>  >>  help patch is the topmost window, it'll use that object name when it
>  >>  opens the pdpedia and take you directly to that page.  Should be in
>  >>  tomorrow's builds.
>  >>
>  >>  This got me thinking that there should be a Pdpedia link in the
>  >> popup
>  >>  menu that currently has Help, Properties, and Open in it...
>  >>
>  >>  .hc
>  >>
>  >>
>  >>
>  >> ---------------------------------------------------------------------
>  >> ---
>  >>  ----
>  >>
>  >>  "[W]e have invented the technology to eliminate scarcity, but we are
>  >>  deliberately throwing it away to benefit those who profit from
>  >>  scarcity."        -John Gilmore
>  >>
>  >>
>  >>
>  >>  _______________________________________________
>  >>  PD-list at iem.at mailing list
>  >>  UNSUBSCRIBE and account-management -> http://lists.puredata.info/
>  >> listinfo/pd-list
>  >>
>
>
>
>  ------------------------------------------------------------------------
>  ----
>
>  The arc of history bends towards justice.     - Dr. Martin Luther
>  King, Jr.
>
>
>
>
>
>  _______________________________________________
>  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