docs/functions/sel.html
Has many functions to handle selected file system objects.
Returns all selected items with double quotation mark and custom separator.
Syntax
sel(quote=false, separator=' ')
Parameters
quoteSets if the return value shall be quoted.separatorSeparator to join the different items from the selection.
Example
sel
sel(true)
sel(true, "\n")
Returns the path of the selected item..
Returns the name without the extension of the selected item.
Returns the number of characters in the path of the selected item.
Returns the path title of the selected item.
Returns the path of the selected item. with double quotation mark.
Returns the short path of the selected item.
Returns the number of characters in the short path of the selected item.
Returns the path of the selected item in raw format.
Returns the number of characters in the raw path of the selected item.
Returns the root directory from the path of the selected items.
Returns the name and extension of the selected item.
Returns the number of characters in the name of the selected item.
Returns the name without extension of the selected item.
Returns the number of characters in the name without extension of the selected item.
Returns the directory path for the selected item.
Returns the directory path for the selected item with quotation mark.
Returns the directory path for the selected item in raw format.
Returns the name of the parent of the selected item.
Returns the number of characters in the parent path of the selected item.
Returns count selected items.
Returns whether the selection is in the background.
Returns the path of current working directory.
Returns the path for the selected item. If it is a file
Returns the name for the selected item. If it is a file.
Returns the number of characters in the name of the selected item. If it is a file.
Returns the extension for the selected item. If it is a file.
Returns the name without an extension for the selected item. If it is a file.
Returns the path for the selected item with quotation mark. If it is a file.
Returns the path for the selected item. If it is a directory.
Returns the name for the selected item. If it is a directory.
Returns the number of characters in the path of the selected item. If it is a directory.
Returns the path for the selected item with quotation mark. If it is a directory.
Returns the path of the selected item by referring to the index number.
Syntax
sel.get(index=0)
Returns the raw path of the selected item by referring to the index number.
Syntax
sel.path.raw(index=0)
Returns the number of characters in the path of the selected item by referring to the index number.
Syntax
sel.length(index=0)
Returns whether the selected item by referring to the index number is read-only.
Syntax
sel.readonly(index=0)
Returns whether the selected item by referring to the index number is hidden.
Syntax
sel.hidden(index=0)
Gets meta data by property key.
Syntax
sel.meta("System.Size"))
Return the target file/dir path from the selected shortcut
Syntax
sel.lnk
Return type the shortcut
Syntax
sel.lnk.type
Return a dir path from the shortcut
Syntax
sel.lnk.dir
Return a icon path and index from the shortcut
Syntax
sel.lnk.icon