Old Placeholders (Constants) of the TextConverter
Information
On this page you can find a description of the placeholders of the old version of the TextConverter, which is no longer being developed. In this version, the placeholders were called "Constants". We recommend that you use the latest version of the program and only use the information that can be found on this page if you are still using the old version of the program.
A description of the placeholders that can be used in the current version can be found here.
If you activate the function "Actions > Constants", the following constants respectively placeholders will be replaced by their corresponding text in all input fields or also in the entire file.
All input fields means all input fields in the actions, in which text can be typed in, so the input fields to delete, replace and insert text as well as the fields for splitting or joining text files.
If the placeholder function is not activated, the constants will not be deleted and they will be written in the text as they are. A deactivation of this function is useful, if you are working on a text which contains some of the constants in a different context.
Overview over all available Placeholders
All in all, there are 12 constants for your proposal in the old version of the TextConverter, which refer to the current file and the position of the file in the list. With the placeholder function, it is possible, for example, to write the file path, the filename or the creation date of a file in each file.
You can use the following constants in the current version of the Text Converter:
- %pathfile%: The constant %pathfile% will be replaced by the full path and the filename of the file. This function is useful, for example, if you would like to join some files and you want to write the source of the single files over the files. Example: "C:\Folder\File.txt"
- %path%: The constant %path% will be replaced only by the path of the file. Example: "C:\Folder"
- %file%: The constant %file% will be replaced only be the filename of the file. Example: "File.txt"
- %extension%: The constant %extension% will be replaced by the file extension of the corresponding file. Example: ".txt"
- %num%: The constant %num% will be replaced by the number of the file in the list. In the first file, this constant is replaced by 1, in the second file by 2 and so on. With this, you can number all files. You can change the order of the files in the list by moving them with the mouse or by sorting the list.
- %numf%: The constant %numf% inserts a consecutive number. With each new file, the number beginns at 1 again. So, with this constant, you can insert different, consecutive numbers in a single file.
- %numfa%: The constant %numfa% inserts a consecutive number, which is not beginning with 1 with each new file, but over all files in the list. In the preview, the other files in the list will not be considered.
- %created%: The constant %created% will be replaced by the creation date of the file. Example: "10.10.2018 10:10"
- %accessed%: The constant %accessed% will be replaced by the date of the last access to the file. Example: "10.10.2018 10:10"
- %modified%: The constant %modified% will be replaced by the date of the last change of the file. Example: "10.10.2018 10:10"
- %size%: The constant %size% will be replaced by the file size of the file. The unit of this value is adjusted individually. Example: "234,298 KB"
- %wintype%: The constant %wintype% will be replaced by the windows type of the file, so for example "Text Document" or "LOG-File".