@Justin @schwa
I toyed around with the latest new dragndrop-function and it is great for files, but I would suggest another addition to it: dragndrop-support for Reaper-elements as well, like Items, Tracks, AutomationItems, Markers and Regions and TimeSig-markers, Subprojects, etc.
Something like that:
Code:
integer number_of_dropped_elements, string element_type string element = gfx.getdropfile(integer elementid)
parameter:
the id of the dragndropped-element, -1 to flush the list
Retvals:
number_of_dropped_elements - the number of dropped elements in the queue in total
element_type - the type of the element
(can be file, item, track, automitem, marker, region, subproject, etc)
element - the returned element, like
subprojects(ReaProject),
Marker/Region(idx of all markers,
AutomationItem(the pooled ID),
Tracks/Items - the MediaTrack/MediaItem-objects
etc.
This would make this function a killer-function for all sorts of things