Control Finder Drag

Hi!

I need to create an Mac desktop app to drag a folder(or a file) from a specific location (on finder) and drop it on another location (another app).

exactly as we do using the mouse!

Anyone has any simple example to provide?

Best regards,

Alex