View Issue Details

IDProjectCategoryView StatusLast Update
0000383FileSieve[All Projects] Pluginpublic2019-05-22 11:12
ReporterBootBlockAssigned ToBootBlock 
PriorityhighSeverityminorReproducibilityN/A
Status closedResolutionfixed 
Product Version4.41 
Target Version4.42Fixed in Version 
Summary0000383: Add character capturing to Method: StandardAtoZ
Description

Allow the referencing of the first character(s) that were captured during processing within the customisation TextBoxes.

EG. The file to be processed is:

D:\MyDir\MyFile.mp3

The Uppercase CheckBox is checked and the following is entered within its TextBox (just an example; not actually useful):

Directory {0}

The allow would result in the following, with Z:\ being the root destination:

Z:\Directory M\MyFile.mp3

The {0} is referencing the first character that was captured. This'll need a bit more thought when I actually implement it, but this is the theory behind it. Will add a note to this issue when finalised.

TagsMethod.StandardAtoZ

Activities

BootBlock

2019-05-21 22:54

administrator   ~0000109

Last edited: 2019-05-21 22:55

View 1 revisions

Done.

  • {firstchar}
    Captures the first character of the item's filename.

BootBlock

2019-05-22 08:19

administrator   ~0000110

Changed {firstchar} to {0}, in antici... pation of adding additional positional character capturing. That was fun to say.

BootBlock

2019-05-22 08:35

administrator   ~0000111

D'oh. Programmer's logic crept in, there, in regards to indexing position.

Changed, again, {0} to {1}. So 1 actually refers to the first position, which allows the usage of {0} to specify the entire captured string just like Regular Expressions do their indexing... I think.

BootBlock

2019-05-22 09:41

administrator   ~0000112

Added:

  • {filename}
    Captures the entire filename of the item, including extension.

  • {filedrive}
    Captures the drive letter of the item; just the first character. EG: C

  • {fileext}
    Captures the file extension, excluding leading dot.

  • {filesize}
    The file size of the item; a long numerical with no formatting.

BootBlock

2019-05-22 10:57

administrator   ~0000113

Added:

  • {filesizekb}
    The file size of the item in kilobytes, a long numerical with no formatting.

BootBlock

2019-05-22 11:04

administrator   ~0000114

Added:

  • {fileattributes}
    The attributes of the file, with each attribute that isn't set being represented by a dash character.

Example output, showing the Archive and Indexed attributes being set:

a----i-----

BootBlock

2019-05-22 11:12

administrator   ~0000115

Added:

  • {fileattributesshort}
    The attributes of the file, with each attribute that isn't set being omitted.

Example output, showing the Archive and Indexed attributes being set:

ai

Issue History

Date Modified Username Field Change
2019-05-21 14:40 BootBlock New Issue
2019-05-21 14:40 BootBlock Assigned To => BootBlock
2019-05-21 14:40 BootBlock Tag Attached: Method.StandardAtoZ
2019-05-21 14:47 BootBlock Status new => assigned
2019-05-21 22:54 BootBlock Note Added: 0000109
2019-05-21 22:55 BootBlock Note Edited: 0000109 View Revisions
2019-05-21 22:55 BootBlock Note Revision Dropped: 109: 0000193
2019-05-21 22:56 BootBlock Status assigned => closed
2019-05-21 22:56 BootBlock Resolution open => fixed
2019-05-22 08:19 BootBlock Note Added: 0000110
2019-05-22 08:35 BootBlock Note Added: 0000111
2019-05-22 09:41 BootBlock Note Added: 0000112
2019-05-22 10:57 BootBlock Note Added: 0000113
2019-05-22 11:04 BootBlock Note Added: 0000114
2019-05-22 11:12 BootBlock Note Added: 0000115