Sign in to follow this  
Followers 0
Skrip

folder tree

3 posts in this topic

okay I can't figure this out please help

I need this to happen

1. i need a button that is "..." that when you click it, it brings up the folder tree

2. then after you select the folder that folder will pop-up in the explorer.exe


[left][sub]We're trapped in the belly of this horrible machine.[/sub][sup]And the machine is bleeding to death...[/sup][sup][/sup][/left]

Share this post


Link to post
Share on other sites



Try this

#include <GuiConstants.au3>

GuiCreate("Explorer", 240, 82,(@DesktopWidth-240)/2, (@DesktopHeight-82)/2)

$Button_1 = GuiCtrlCreateButton("...", 90, 30, 60, 20)

GuiSetState()
While 1
    $msg = GuiGetMsg()
    Select
    Case $msg = $GUI_EVENT_CLOSE
        ExitLoop
    Case $msg = $Button_1
        $Path = FileSelectFolder("Choose a folder.", "")
        Run('Explorer.exe "' & $Path & '"', @WorkingDir, @SW_SHOW)
    Case Else
    ;;;
    EndSelect
WEnd
Exit

AutoIt Scripts:NetPrinter - Network Printer UtilityRobocopyGUI - GUI interface for M$ robocopy command line

Share this post


Link to post
Share on other sites

works great! thanks


[left][sub]We're trapped in the belly of this horrible machine.[/sub][sup]And the machine is bleeding to death...[/sup][sup][/sup][/left]

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  
Followers 0