Is it possible to simulate a drag and drop?

You need to read all of this thread, which I think answers your question.

Mouse drag