Hi, I made a plugin to support Drag&Drop in Windows.
DragAndDrop.Check() //Return 1 or 0 and -1 If you haven’t dragged anything before
DragAndDrop.GetFiles() //Return string. After calling function GetFiles(), Check() returns 0
#import_plugin DragAndDrop
global files as string []
do
if DragAndDrop.Check() = 1
FormatString(DragAndDrop.GetFiles(), files)
endif
for i=0 to files.length
print(files[i])
next i
Sync()
loop
function FormatString( _files as string, _array ref as string[] )
if _array.length <> -1
for i=_array.length to 0 step -1
_array.remove(i)
next i
endif
//Count ':'
local count_files : count_files = FindStringCount( _files, ':' )
for i=1 to count_files
_array.insert(GetStringToken(_files,',',i))
next i
endfunction
Let me know about your experience with the plugin.
UPD:
fixed support AppGameKit Studio