rvn Posted September 18, 2007 Share Posted September 18, 2007 (edited) Im working a simple download manager right now, that use WGET as a machine. Till now i just copy the link from the clipboard. It will be nice if i can drag URL from browser and drop it on the list of my app Please help me.... Edited September 18, 2007 by xix Link to comment Share on other sites More sharing options...
BrettF Posted September 18, 2007 Share Posted September 18, 2007 From the GUICtrlCreateInput example in the helpfile. The top input should accept files... #include <GUIConstants.au3> GUICreate(" My GUI input acceptfile", 320,120, @DesktopWidth/2-160, @DesktopHeight/2-45, -1, 0x00000018); WS_EX_ACCEPTFILES $file = GUICtrlCreateInput ( "", 10, 5, 300, 20) GUICtrlSetState(-1,$GUI_DROPACCEPTED) GUICtrlCreateInput ("", 10, 35, 300, 20) ; will not accept drag&drop files $btn = GUICtrlCreateButton ("Ok", 40, 75, 60, 20) GUISetState () $msg = 0 While $msg <> $GUI_EVENT_CLOSE $msg = GUIGetMsg() Select Case $msg = $btn exitloop EndSelect Wend MsgBox (4096, "drag drop file", GUICtrlRead($file)) Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! Link to comment Share on other sites More sharing options...
rvn Posted September 20, 2007 Author Share Posted September 20, 2007 Look like that codes can not work to drop the link from a browser. i use mozilla right now. Link to comment Share on other sites More sharing options...
rvn Posted September 20, 2007 Author Share Posted September 20, 2007 Is there any other way to drop a link right from a browser to a list ? please help me... Link to comment Share on other sites More sharing options...
Tweaky Posted September 23, 2007 Share Posted September 23, 2007 Hi, I have the same problem. Have nobody an idea??? Link to comment Share on other sites More sharing options...
rvn Posted September 27, 2007 Author Share Posted September 27, 2007 Is there any other way to drop a link right from a browser to a list ? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now