Random WDX

Random WDX

Content plugin for Total Commander
Generate random numbers and strings

Download RandomWDX_1_1_6.zip (ZIP, 287 KB)
14761 - all downloads, 34 - downloads at October

Description

Version
1.1.6, 32-bit and 64-bit
Purpose
Mixing objects (files, folders, etc) via random numbers/strings with fixed length for easy renaming (eg [N6-]) or sorting in future.

Data fields

Number
Generate random number, the size of 64 characters.
HEX
Generates a random number in hexadecimal, the size of 64 characters.
String
Generates a random string of 64 characters in length.
Number_FromName
Generates a pseudo-random number from a file name, the size of 64 characters. Each file name corresponds to a single number, it reduces the likelihood of recurrence of file names.
HEX_FromName
Generates a pseudo-random number in hexadecimal from a file name, the size of 64 characters. Each file name corresponds to a single number, it reduces the likelihood of recurrence of file names.
String_FromName
Generates a pseudo-random string of 64 characters in length from a file name. Each file name corresponds to a single number, it reduces the likelihood of recurrence of file names.
Number_AntiСoincidence
Generate random number from 00000000 to 01999999, with anti-recurrence protection. Protection creates a session for 1000000 renames without recurrence of numbers.

Installation

Standard
Open the plugin zip file in Total Commander for auto-installation.
Manual
In menu > Configuration > Options > Plugins > Content Plugins configure > Add > Browse unpacked plugin file.
Troubleshooting
In some cases ("DLL not found" errors) need to install Visual C ++ 2015 package
Download the package for your system: https://www.microsoft.com/ru-RU/download/details.aspx?id=48145

Using

Syntax
The number of characters can be adjusted by adding a ":1-8]" (without the quotation marks) instead of "]", where "8" - the number of characters.
Example 1
Use a mask filename "[=random.Number:1-10] - [N]" at group renaming for random order of files (from "music.mp3" get "7374632904 music.mp3")
Example 2
Make new columns view or edit existing. Add column with "[=random.HEX]", click "Ок" and back to main window. Select resulting columns view. Left click on column header with random numbers for enable random sort. Now, select all files and make group renaming with mask "[C] [N]". We'll get randomly placed files, numbered in order starting at 1.

History

2016-02-19
v1.1.6
Added Number_AntiСoincidence experimental function(data field)
2016-02-19
v1.1.5
Added "String_FromName" function(data field)
2016-02-18
v1.1.4
Added "HEX_FromName" function(data field)
Added "Number_FromName" function(data field)
2016-02-17
v1.1.3
Added "String" function(data field)
2016-02-16
v1.1.2
Avoiding the use of packers, due to problems with some antivirus software
Project is moved to the C++ 2015
Revised structure - instead of the old data fields made only Number and HEX, which generate significantly larger numbers
2013-07-04
v1.0.1
Added HEX format function
Added 4-byte function
Added 64-bit version
2013-07-02
v1.0.0 - Initial release
Only one function - "Random" (2 bytes integer)