The verbose thread title explains it.
Basically, I have a toolbar that hooks file-drop events into text areas, and I'd like to perform this procedure without manually dragging.
I'd like to write a script function which does something like this (OOP semantics):
TextArea.drop (IDataObject, ...)
wherein I would be responsible for the IDataObject implementation.
Am I barking up the wrong tree? Is this possible at all, even if not in javascript?