Here's a python script to list all the externals in a directory. It goes through all the subdirectories too. Problem with MSW pd externals: they end in '.dll', which could be any shared library. Linux and OSX externals end in '.pd_darwin' or '.pd_linux' so they can't be confused.
I tried it with a cygwin terminal like this: python pddlls.py "C:\Program Files\pd\extra" ...and got a list of 2502 objects.
Martin
Jamie Bullock wrote:
Lao Yu wrote:
from the ongoing discussion about Max/MSP compatibility I wonder if it would be a good idea to create a list of available objects in the extended version, quite as it exists for vanilla. For someone who is getting acquainted - like me - it sure would be a useful thing, I mean like '5.referemce/help-intro.pd'. Does anybody work on such a thing?
The attached script might serve as a starting point for something. It will list all externals under a given 'extra' directory, and optionally print all the comments from the corresponding help file if there is one.
It could easily be adapted to output in csv format, or print the library a given external is part of.
One caveat: it assumes that your extra directory has only one level of nesting, so it only looks in extra/ and extra/* not extra/*/* etc.
Jamie