On Mon, 11 Jul 2011, Jonathan Wilkes wrote:
One thing I'm running into is that c_helpname doesn't help with abstractions-- it obviously just returns "canvas". I guess I could then compare to the first atom in te_binbuf and if it's not "pd" then it's the name of the abstraction. But that still doesn't get me the dir.
Comparing binbuf_getvec(te_binbuf)[0] with "pd" is not sufficient. There are other names that could be there and aren't abstractions, such as "page" and Arrays (appearing as "graph" and Graphs (also appearing as "graph").
| Mathieu Bouchard ---- tél: +1.514.383.3801 ---- Villeray, Montréal, QC