seres Posted April 21, 2016 Share Posted April 21, 2016 (edited) hello, is there a way to use $workingdir2 = FileSelectFolder("Select folder", "") with last accessed folder like $pathfile = FileOpenDialog("Choose Image", "", "(" & $sFilter & " )") more specific in file open diag if you place "" without a working dir it returns you the last accessed folder, but in FileselectFolder if you place "" without a dir it wont return you the last accessed folder Edited April 22, 2016 by seres Link to comment Share on other sites More sharing options...
seres Posted April 21, 2016 Author Share Posted April 21, 2016 (edited) . Edited April 22, 2016 by seres Link to comment Share on other sites More sharing options...
shotiko Posted April 23, 2016 Share Posted April 23, 2016 $workingdir1 = FileSelectFolder("Select folder", "") ; Shows desktop as root $workingdir2 = FileSelectFolder("Select folder", $workingdir1) ; shows $workingdir1 return folder as root if you have any other function that points to different(last) directory between those 2 lines, use their value instead of $workingdir1 seres 1 Link to comment Share on other sites More sharing options...
seres Posted April 23, 2016 Author Share Posted April 23, 2016 1 hour ago, shotiko said: $workingdir1 = FileSelectFolder("Select folder", "") ; Shows desktop as root $workingdir2 = FileSelectFolder("Select folder", $workingdir1) ; shows $workingdir1 return folder as root if you have any other function that points to different(last) directory between those 2 lines, use their value instead of $workingdir1 thanks for the answer but i have to access workingdir1 in order to set it to workingdir2 or ill get an error, but so far i think this is the best solution. thanks 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