Save Settings: What is enough free space? New formula: 10 MB + the sizes of tag.dat, fsc.dat, and action.dat.
SC tab: tab ("get", "path") returned a drive root path with a trailing backslash. Fixed. All paths returned here should be without a trailing backslash.
Updated the help file.
XYplorer 22.40.0244 Beta
Scripting got a new function.
Name: PathReal
Action: Returns the real path for a given path.
Syntax: pathreal([path])
path: Full real or virtual path to an item.
Defaults to the currently focused list item.
Remarks:
Some paths support to be referred to by a shortened path spec, the
so-called virtual path. In XYplorer these paths are Desktop,
Documents, Downloads, Links, and <user> (there might be more in the
future). So these paths have at least two ways to be referred to,
mostly even three because all but <user> are contained within <user>.
Scripting: The message "Script terminated by ESC." now appears in the
status bar instead of in a message box.
SC IndexAtPos: Did not return the correct tab index (instead it returned
an internal tab ID which is independent of the tab position). Fixed.
22.40.0243 Beta
SC itematpos enhanced: Added flag that will return a path in its virtual form when it's currently used that way in Tree, List, Tabs, or Crumb. Syntax: itematpos(
flags:
0: If x and y are passed, they are the position on screen.
1: If x and y are passed, they are the position on XYplorer.
2: Return virtual path if it is one (else always convert to real path).
Remarks:
An example to show the difference and relation between virtual and real path:
Virtual path: DonaldDropboxPics
Real path: C:UsersDonaldDropboxPics
Locked Tree: Current location could get out of sync in the context of a CEA script. Fixed.
Contents and Index: Could crash on virgin installations. Tried a fix.