One application can't affect another applications cursor. You'd have to write a mouse driver of some sort in order to do this.