Skip to content

Commit fbb5e9e

Browse files
committed
Updated user manual for properties selection.drive.letter and selection.drive.path. For issue #58.
1 parent 7083f4b commit fbb5e9e

File tree

1 file changed

+24
-16
lines changed

1 file changed

+24
-16
lines changed

UserManual.md

Lines changed: 24 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -839,17 +839,21 @@ The application provides a list of dynamic properties. The values of these prope
839839

840840
The following table defines the list of dynamic properties and their utility:
841841

842-
| Property | Description |
843-
|------------------------------|--------------------------------------------------------------------------|
844-
| selection.path | Matches the full path of the clicked element. |
845-
| selection.filename | Matches the filename of the clicked element. |
846-
| selection.filename.noext | Matches the filename of the clicked element without the file extension. |
847-
| selection.parent.path | Matches the full path of the parent element. |
848-
| selection.parent.filename | Matches the filename of the parent element. |
849-
| selection.filename.extension | Matches the file extension of the clicked element. |
842+
| Property | Description |
843+
|------------------------------|-------------------------------------------------------------------------|
844+
| selection.path | Matches the full path of the clicked element. |
845+
| selection.filename | Matches the filename of the clicked element. |
846+
| selection.filename.noext | Matches the filename of the clicked element without the file extension. |
847+
| selection.parent.path | Matches the full path of the parent element. |
848+
| selection.parent.filename | Matches the filename of the parent element. |
849+
| selection.filename.extension | Matches the file extension of the clicked element. |
850+
| selection.drive.letter | Matches the drive letter of the clicked element. For example 'C'. |
851+
| selection.drive.path | Matches the drive path of the clicked element. For example 'C:\'. |
850852

851853
Selection-based properties are encoded in utf-8.
852854

855+
Note that properties `selection.drive.letter` and `selection.drive.path` are empty when user select files from a network share.
856+
853857

854858

855859
## Multi-selection-based properties ##
@@ -862,14 +866,18 @@ For example, assume the following files are selected:
862866
* C:\Program Files (x86)\Winamp\zlib.dll
863867

864868
The system will generates the following property values (note the `\r\n` characters) :
865-
| Property | Value |
866-
|------------------------------|--------------------------------------------------------------------------|
867-
| selection.path | C:\Program Files (x86)\Winamp\libFLAC.dll`\r\n`C:\Program Files (x86)\Winamp\winamp.exe`\r\n`C:\Program Files (x86)\Winamp\zlib.dll |
868-
| selection.filename | libFLAC.dll`\r\n`winamp.exe`\r\n`zlib.dll |
869-
| selection.filename.noext | libFLAC`\r\n`winamp`\r\n`zlib|
870-
| selection.parent.path | C:\Program Files (x86)\Winamp`\r\n`C:\Program Files (x86)\Winamp`\r\n`C:\Program Files (x86)\Winamp |
871-
| selection.parent.filename | Winamp`\r\n`Winamp`\r\n`Winamp |
872-
| selection.filename.extension | dll`\r\n`exe`\r\n`dll |
869+
| Property | Value |
870+
|------------------------------|-------------------------------------------------------------------------------------------------------------------------------------|
871+
| selection.path | C:\Program Files (x86)\Winamp\libFLAC.dll`\r\n`C:\Program Files (x86)\Winamp\winamp.exe`\r\n`C:\Program Files (x86)\Winamp\zlib.dll |
872+
| selection.filename | libFLAC.dll`\r\n`winamp.exe`\r\n`zlib.dll |
873+
| selection.filename.noext | libFLAC`\r\n`winamp`\r\n`zlib |
874+
| selection.parent.path | C:\Program Files (x86)\Winamp`\r\n`C:\Program Files (x86)\Winamp`\r\n`C:\Program Files (x86)\Winamp |
875+
| selection.parent.filename | Winamp`\r\n`Winamp`\r\n`Winamp |
876+
| selection.filename.extension | dll`\r\n`exe`\r\n`dll |
877+
| selection.drive.letter | C`\r\n`C`\r\n`C |
878+
| selection.drive.path | C:\\`\r\n`C:\\`\r\n`C:\\ |
879+
880+
Note that properties `selection.drive.letter` and `selection.drive.path` are empty when all selected files are from a network share.
873881

874882

875883

0 commit comments

Comments
 (0)