eJan Posted March 13, 2005 Posted March 13, 2005 I'm tryng to have selected existing folder "EditPlus 2", but only solution i have selected is "Program Files", maybe the script isn't good or function doesn't work properly$message = "Select folder to open"$open = FileSelectFolder($message, @ProgramFilesDir, -1, "EditPlus 2")
CyberSlug Posted March 13, 2005 Posted March 13, 2005 Hmm, you need the FULL path to EditPlus 2.... This is not an AutoIt bug, but the function could be improved... $message = "Select folder to open" $open = FileSelectFolder($message, @ProgramFilesDir, -1, @ProgramFilesDir & "\EditPlus 2") Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!
eJan Posted March 13, 2005 Author Posted March 13, 2005 Hmm, you need the FULL path to EditPlus 2.... This is not an AutoIt bug, but the function could be improved...CODE$message = "Select folder to open"$open = FileSelectFolder($message, @ProgramFilesDir, -1, @ProgramFilesDir & "\EditPlus 2")CyberSlug thanks again!
Holger Posted March 13, 2005 Posted March 13, 2005 I'm just working right now to improve it So you could take as initial dir the _relative_ folder under the root dir or the complete path... Like FileSelectFolder($message, @ProgramFilesDir, -1, "EditPlus 2") Old project:GUI/Tray menu with icons and colors Other old stuff:IconFileScanner, TriState/ThreeState GUI TreeView, GUI ContextMenu created out of a TreeView
eJan Posted March 13, 2005 Author Posted March 13, 2005 I'm just working right now to improve it So you could take as initial dir the _relative_ folder under the root dir or the complete path...LikeFileSelectFolder($message, @ProgramFilesDir, -1, "EditPlus 2")Yes, but then i can't see other folders in @ProgramFilesDir (the path works).I use CyberSlug suggestion which works exactly as i need.
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