Monday, April 22, 2019

#1 2019-02-04 09:55:24 pm

technomorph
Member
Registered: 2017-12-14
Posts: 103

"Simulating" a drag and drop to another app

Anything I should look into as far as simulating a drag and drop
To another app that isn't scriptable, but still accepts Drag and drop.

I would like to set up two buttons.
The two buttons would define two seperate locations in he other app.

The pasteboard item would be the currently selected item in a table:

I can figure out all of the table selection, file URL pasteboard type etc.
And activating the other app.

Just trying to figure out how I can simulate
A "drop" pasteboard item at location in window.
Via OBJC

Would a mouse down and hold,
The paste work?

Or isn't there a perform mouse drag release function?

Offline

 

Board footer

Powered by FluxBB

RSS (new topics) RSS (active topics)