en:console_unicode_wdx
Console WDX (unicode)
This is a unicode version of the wdx.exe utility from Samwatas. Allows you to get any data from the specified wdx plugin and output it to the console for further use in batch files or plugins like WinScript Advanced.
Syntax:
uwdx.exe [/C:codepage] [/I[:<inipath>]] [/E] <plugin_name> [testfile [column [unit]]]
plugin_name | Path to WDX plugin. |
testfile | Optional. Name of test file. If omitted, a list with indices, names and types of all columns will be displayed. |
column | Optional. Column, defined as zero-based index or name (non-localized). If omitted, a list with the names and values of all columns will be displayed. |
unit | Optional. Unit, defined as zero-based index or name (non-localized). If omitted, it is considered to be default (0). |
Switches:
/C:codepage | Optional. Sets the codepage of output. Default codepade is 65001 (UTF-8). Possible codepages are on the Microsoft site. |
/I[:<inipath>] | Optional. If there is a switch, the path to the plugin with the name specified by the plugin_name parameter will be taken from the Total Commander configuration. By default, the configuration of the TC copy from which the utility is launched is used. Optionally, the path to the ini file can be specified after «:», where the search should be performed (section redirection is supported). Paths with spaces must be enclosed in quotes. |
/E | Optional. In the output mode of all plugin fields, only non-empty values will be shown. |
/X:field | Optional. Adds the name or index of a plugin field that will be excluded in all fields display mode. This switch can be used multiple times. Names with spaces must be enclosed in quotation marks. |
/N:field | Опционально. Adds the name or index of a plugin field that will be included in all fields display mode. This switch can be used multiple times. Names with spaces must be enclosed in quotation marks. The inclusion list takes precedence over the exclusion list. |
Examples:
uwdx.exe TCTorrent.wlx -> will show all columns, their indexes and types uwdx.exe TCTorrent.wlx test.torrent -> will show values for all columns and units uwdx.exe TCTorrent.wlx test.torrent 0 -> return value of column with index 0 (Name) uwdx.exe TCTorrent.wlx test.torrent "Name" -> return value of "Name" column uwdx.exe TCTorrent.wlx test.torrent "Total Size" 1 -> return value of column "Total Size" in kilobytes (unit index = 1) uwdx.exe /C:1251 TCTorrent.wlx test.torrent -> will show values for all columns and units and sets output to 1251 codepage. uwdx.exe /I TCTorrent -> will show values for all columns and units for TCTorrent from current TC configuration. uwdx.exe /I:"C:\Total Commander\Wincmd.ini" TCTorrent -> will show values for all columns and units for TCTorrent from certain TC configuration.
Autoit source in the archive.
What's new:
Version 1.3.4
- Fixed Unicode output
- Added /N switch to include fields in output
Version 1.3.3
- Added /X switch to exclude fields from output
Version 1.3.2
- Fixed output with /E switch
Version 1.3.1
- Added /E switch
- Fixed handling fields of multiplechoice type
Version 1.3.0
- Removed UPX compression (if necessary, you can do it yourself)
- Added x64 version
- Moved to actual Autoit version, added icon
- New switch to get plugin paths from working TC copy
Version 1.2.2
- Now full path to testfile is always passed to plugins
Скачать
en/console_unicode_wdx.txt · Последнее изменение: 2024/11/21 10:51 — loopback