I just discovered the "setsearchpath" message to Max as had some questions about related possibilities.
The implementation I have seen sets the searchpath to a specific number in the list. I'm guessing there is no way to just automatically add it to the end of the list? As a way to achieve that, is there a way to find out how many items are currently in the searchpath preferences?
Anyone know if there is a way to send a message to Max to remove something for the searchpath?
I see there is a "paths" message, but that just prints to the Max window. I was hoping there may be some other options since "setsearchpath" doesn't seem to be listed in the documentation (at least I don't see it).