I'm writing a gui object and trying to save the state of object in the clipboard (by copying the object) or in the maxpat file. (i.e. points of function object is saved when copied, duplicated, and save in a file.) I found that this can be implemented using psave and pstate in Max 4, but I read in this forum that psave is implemented differently in Max 5. I couldn't find any resource that shows how to do it in Max 5 and was wondering if anyone can point me to the right direction. I also tried putting psave shown in Writing External Objects for Max 4.0 and MSP 2.0 document, but I had no luck.
I'm new to max external development and I'd much appreciate your help!