Jump to content
Sign in to follow this  

FileSelectFolder question

Recommended Posts

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

$folder = FileSelectFolder("Choose a directory to backup to:", "::{208D2C60-3AEA-1069-A2D7-08002B30309D}")

If @error Then
MsgBox(4096,"","Backup cancelled.")
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?



Share this post

Link to post
Share on other sites

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 by killaz219

Share this post

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...