Example:
Make these two buttons:
Code: Select all
TOTALCMD#BAR#DATA
SAVESELECTION myfile
wcmicons.dll,43
Save selection to myfile
-1
Code: Select all
TOTALCMD#BAR#DATA
SAVEDETAILS myfile
wcmicons.dll,43
Save selection to myfile - details
-1
Start with TC with these panels:
Left side: c:\
Right side: c:\test2
Open c:\test1 in Left side (so c:\test1 will be the last opened dir)
Mark test.txt in c:\test2 (in the Right side)
Click one of the buttons
The file myfile is created in c:\test1 and not in c:\test2 as expected
Now in the Right side go back to c:\ and then into c:\test2 again (so c:\test2 is the last opened dir)
Mark test.txt in c:\test2 again
Click one of the buttons
The file myfile is now created in c:\test2 as expected
So myfile is always created in the last opened directory - this is also true if the last opened directory is on another drive than the one where the files are selected -and it is also true if Right and Left is reversed in the tests above (file selection is done in the Left side).