lyledg Posted December 9, 2004 Share Posted December 9, 2004 I have a GUIinput box that needs to be populated with a chosen folddername Global $PriSrc = GUICtrlCreateInput("", 40, 80, 300, 18,); will accept drag&drop files GUICtrlSetState(-1, $GUI_ACCEPTFILES) $folder = FileSelectFolder("Choose a directory to backup to:", "::{208D2C60-3AEA-1069-A2D7-08002B30309D}") If @error Then MsgBox(4096,"","Backup cancelled.") Else MsgBox(4096,"","You chose " & $folder) $Folderset = GUICtrlSetData($PriSrc, GuiRead ($folder)) The GuiInput gets populated, but with numbers. I need to do the same action for various Inputboxes..Is there an easier way to do this? Cheers Lyle Link to comment Share on other sites More sharing options...
killaz219 Posted December 9, 2004 Share Posted December 9, 2004 (edited) isnt it just $Folderset = GUICtrlSetData($PriSrc, $folder)Edit : also you need to use guicreat, I suggest you use cyberslugs autobuilder if you want a quick good job (still in prototype) http://www.autoitscript.com/fileman/users/public/CyberSlug/nov27proto.zip Edited December 9, 2004 by killaz219 Link to comment Share on other sites More sharing options...
lyledg Posted December 9, 2004 Author Share Posted December 9, 2004 Yea, i just found it as you posted this...sorry for the question.. Thanx mate 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