Files
Shell/docs/functions/sel.html
T
Mahmoud Gomaa b22ebd2cf8 Add files via upload
Update to html files
2021-12-28 07:34:55 +02:00

195 lines
4.4 KiB
HTML

<h5>SEL</h5>
<p>Has many functions to handle selected file system objects.</p>
<br>
<p>
<h5>sel(quote=<code>false</code>, separator=<code>' '</code>)</h5>
<p>Returns all selected items with double quotation mark and custom separator.</p>
<pre><code>sel<br>sel(true)<br>sel(true, "\n")</code></pre>
</p>
<br>
<p>
<h5>sel.path</h5>
Returns the path of the selected item..
</p>
<br>
<p>
<h5>sel.path.title</h5>
Returns the name without the extension of the selected item.
</p>
<br>
<p>
<h5>sel.path.length</h5>
Returns the number of characters in the path of the selected item.
</p>
<br>
<p>
<h5>sel.path.title</h5>
Returns the path title of the selected item..
</p>
<br>
<p>
<h5>sel.path.quote</h5>
Returns the path of the selected item. with double quotation mark.
</p>
<br>
<p>
<h5>sel.short</h5>
Returns the short path of the selected item.
</p>
<br>
<p>
<h5>sel.short.length</h5>
Returns the number of characters in the short path of the selected item.
</p>
<br>
<p>
<h5>sel.raw</h5>
Returns the path of the selected item in raw format.
</p>
<br>
<p>
<h5>sel.raw.length</h5>
Returns the number of characters in the raw path of the selected item.
</p>
<br>
<p>
<h5>sel.root</h5>
Returns the root directory from the path of the selected items.
</p>
<br>
<p>
<h5>sel.name</h5>
Returns the name and extension of the selected item.
</p>
<br>
<p>
<h5>sel.name.length</h5>
Returns the number of characters in the name of the selected item.
</p>
<br>
<p>
<h5>sel.title</h5>
Returns the name without extension of the selected item.
</p>
<br>
<p>
<h5>sel.title.length</h5>
Returns the number of characters in the name without extension of the selected item.
</p>
<br>
<p>
<h5>sel.parent</h5>
Returns the directory path for the selected item.
</p>
<br>
<p>
<h5>sel.parent.quote</h5>
Returns the directory path for the selected item with quotation mark.
</p>
<br>
<p>
<h5>sel.parent.raw</h5>
Returns the directory path for the selected item in raw format.
</p>
<br>
<p>
<h5>sel.parent.name</h5>
Returns the name of the parent of the selected item.
</p>
<br>
<p>
<h5>sel.parent.length</h5>
Returns the number of characters in the parent path of the selected item.
</p>
<br>
<p>
<h5>sel.count</h5>
Returns count selected items.
</p>
<br>
<p>
<h5>sel.back</h5>
Returns whether the selection is in the background.
</p>
<br>
<p>
<h5>sel.curdir or sel.workdir</h5>
Returns the path of current working directory.
</p>
<br>
<p>
<h5>sel.file</h5>
Returns the path for the selected item. If it is a file
</p>
<br>
<p>
<h5>sel.file.name</h5>
Returns the number of characters in the name of the selected item. If it is a file.
</p>
<br>
<p>
<h5>sel.file.name.length</h5>
Returns the name for the selected item. If it is a file.
</p>
<br>
<p>
<h5>sel.file.ext</h5>
Returns the extension for the selected item. If it is a file.
</p>
<br>
<p>
<h5>sel.file.title</h5>
Returns the name without an extension for the selected item. If it is a file.
</p>
<br>
<p>
<h5>sel.file.quote</h5>
Returns the path for the selected item with quotation mark. If it is a file.
</p>
<br>
<p>
<h5>sel.directory</h5>
Returns the path for the selected item. If it is a directory.
</p>
<br>
<p>
<h5>sel.directory.name</h5>
Returns the name for the selected item. If it is a directory.
</p>
<br>
<p>
<h5>sel.directory.length</h5>
Returns the number of characters in the path of the selected item. If it is a directory.
</p>
<br>
<p>
<h5>sel.directory.quote</h5>
Returns the path for the selected item with quotation mark. If it is a directory.
</p>
<br>
<p>
<h5>sel.get(index=<code>0</code>)</h5>
Returns the path of the selected item by referring to the index number.
</p>
<br>
<p>
<h5>sel.raw(index=<code>0</code>)</h5>
Returns the raw path of the selected item by referring to the index number.
</p>
<br>
<p>
<h5>sel.length(index=<code>0</code>)</h5>
Returns the number of characters in the path of the selected item by referring to the index number.
</p>
<br>
<p>
<h5>sel.readonly(index=<code>0</code>)</h5>
Returns whether the selected item by referring to the index number is read-only.
</p>
<br>
<p>
<h5>sel.hidden(index=<code>0</code>)</h5>
Returns whether the selected item by referring to the index number is hidden.
</p>