Jump to content

FrankSchneidewind

Members
  • Posts

    6
  • Joined

  • Last visited

FrankSchneidewind's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Thanks, it's working now!
  2. Still doesn't work and now the exit and minimize buttons are gone :/
  3. Thanks this helped alot. My form looks like this now: #include <ButtonConstants.au3> #include <GUIConstantsEx.au3> ;#include <GUIConstants.au3> #include <ProgressConstants.au3> #include <StaticConstants.au3> #include <WindowsConstants.au3> #include <FileConstants.au3> #include <File.au3> #include <INet.au3> #include <String.au3> #Region ### START Koda GUI section ### Form= $Form1 = GUICreate("DVD Videosoft Updater", 306, 110, 390, 222) GUICtrlSetState(-1, $GUI_DROPACCEPTED) $status = GUICtrlCreateLabel("Nothing to do right now", 136, 8, 152, 17) GUICtrlSetState($status, $GUI_DROPACCEPTED) $useOwnINI = GUICtrlCreateCheckbox("Use own links.ini", 8, 8, 97, 17) GUICtrlSetState(-1, $GUI_DROPACCEPTED) $download_start = GUICtrlCreateButton("Download", 8, 32, 107, 25) GUICtrlSetState(-1, $GUI_DROPACCEPTED) $progressbar = GUICtrlCreateProgress(136, 32, 150, 25) GUICtrlSetState(-1, $GUI_DROPACCEPTED) $Label2 = GUICtrlCreateLabel("Drag && Drop!", 80, 80, 145, 17, $SS_CENTER) GUICtrlSetState(-1, $GUI_DROPACCEPTED) GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $GUI_EVENT_DROPPED Global $droppedfile = @GUI_DragFile MsgBox(0,"",$droppedfile) EndSwitch WEnd I still can't drop files in there - the "no dop" mouse-icon appears every time i try to drop a file... Any idea what could be the reason for this? Thanks!
  4. Hi all, I got a quick question regarding Drag&Drop with GUIs. I made a little script that does something with files and I need a way to get the name/path of the file when I drag&drop it into the GUI. Is there a quick way to do this? Tyvm in advance! Neo
  5. So i have to name every single file in it? Thx man Somewhere i read that i could even handle whole folders so i was a little bit confused... But actually this script works when i run it directly. So how does this work?! Neo
  6. Hey guys, i made a little programm for updating minecraft jars etc. Actually this is unnecessary, but i got a little error while compilling and i just want to know why, because if i run the script directly it works perfectly fine. The Code: if GuiCtrlRead($Radio3) = 1 Then DirCreate("C:\Users\Neo\Desktop\Minecraft Installer Test\Neu\") Fileinstall("C:\Users\Neo\Desktop\Minecraft Installer Test\TestDateien\","C:\Users\Neo\Desktop\Minecraft Installer Test\Neu\") EndIf The error: Thx for help Neo
×
×
  • Create New...