Jump to content
Sign in to follow this  
seres

last access folder how to?

Recommended Posts

seres

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

Share this post


Link to post
Share on other sites
seres

.

Edited by seres

Share this post


Link to post
Share on other sites
shotiko
$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

  • Like 1

Share this post


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

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.