Skrip Posted December 26, 2005 Share Posted December 26, 2005 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] Link to comment Share on other sites More sharing options...
Danny35d Posted December 26, 2005 Share Posted December 26, 2005 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 Link to comment Share on other sites More sharing options...
Skrip Posted December 26, 2005 Author Share Posted December 26, 2005 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] 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