Инструменты пользователя

Инструменты сайта


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_namePath to WDX plugin.
testfileOptional. Name of test file.
If omitted, a list with indices, names and types of all columns will be displayed.
columnOptional. 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.
unitOptional. Unit, defined as zero-based index or name (non-localized).
If omitted, it is considered to be default (0).

Switches:

/C:codepageOptional. 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.
/EOptional. In the output mode of all plugin fields, only non-empty values will be shown.

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.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/03/22 21:55 — loopback

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki