Sign in to follow this  
Followers 0
seres

last access folder how to?

4 posts in this topic

#1 ·  Posted (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 by seres

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

.

Edited by seres

Share this post


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

1 person likes this

Share this post


Link to post
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

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  
Followers 0