I have a folder named "test". Within that folder is a subfolder named "vvvv" and a file named "zzz.dat". I want XY to select the file zzz.dat so I can work with it.
I have one List pane open. The folder "test" is selected in the Tree. As expected the pane shows:
vvvv (folder)
zzz.dat (file)
My script is:
Code: Select all
//title
focus "L";
sel f;
echo getpathcomponent(, "base");
end;I don't know if the problem is with the Focus command or the Sel command. Or if I am somehow misusing them. This is with Win 7 32-bit, XY ver 15.20.0300.
Any help will be appreciated
XYplorer Beta Club