Dear fellow members,
I would like to create a script that allow user to click and drag multiple files into it and then click a button to process those files. It also allow user to delete particular lines from that list.
What I have now is only allow user to click and drag SINGLE FILE hence doesn't allow user to delete particular lines/file list from the list.
Any suggestions (and maybe example) would be very appreciated![:)]()
I would like to create a script that allow user to click and drag multiple files into it and then click a button to process those files. It also allow user to delete particular lines from that list.
What I have now is only allow user to click and drag SINGLE FILE hence doesn't allow user to delete particular lines/file list from the list.
Any suggestions (and maybe example) would be very appreciated
![:)](http://aut1.autoit-cdn.com/forum/public/style_emoticons/default/smile.png)
[ autoit ]
#cs ---------------------------------------------------------------------------- ;Original Author: enzo_ ;Linguagem: AutoIt ;Função: Drag and Drop #ce ---------------------------------------------------------------------------- #include <EditConstants.au3> #include <GUIConstantsEx.au3> #include <StaticConstants.au3> #include <WindowsConstants.au3> $Title = "Func Drag File and Drop" $Form1 = GUICreate($Title, 256, 53, -1, -1,-1, $WS_EX_ACCEPTFILES) GUISetOnEvent($GUI_EVENT_DROPPED, "Drag") WinSetOnTop($Title, "", 1) $Input1 = GUICtrlCreateInput("[ ... ]", 8, 24, 241, 21) GUICtrlSetState(-1, $GUI_DROPACCEPTED) $Label1 = GUICtrlCreateLabel("Click and Drag File here:", 8, 8, 118, 16) GUISetState(@SW_SHOW) While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $Input1 Drag() EndSwitch WEnd Func Drag() MsgBox(0,0,"ID: "&@GUI_DRAGID & " File: "&@GUI_DRAGFILE &" Drop: "&@GUI_DROPID&@CRLF) EndFunc