Jump to content

last access folder how to?


seres
 Share

Recommended Posts

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 by seres
Link to comment
Share on other sites

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

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...