As IOhannes said, the vanilla way is something like this:
create objects in a subpatch
knowing the positions of the object, you can simulate the mouse to select the object and send a "cut" message.
I've done something like this few years ago (I've used zexy/index for a database-like function, but you can use [list] or [text]), see attachment.
The message looks like this : "vis 1, editmode 1, mouse 19 $1 0 0, mouseup 21 $2 0, cut, vis 0", where $1 and $2 are X and Y of the object.
Hope that helps.
j.