Quantcast
Channel: voidtools forum
Viewing all articles
Browse latest Browse all 2710

Everything 1.5 Alpha • MacroHelp: How to "dupe:first_$param_letters_of_name"?

$
0
0
I'm trying to make the macro `gbfn:5` to dupe together files that have the same first 5 letters of their name.

Here is my attempt: `gbf:` defined as

Code:

column1:=regex_extract($stem:,"^.{$param:}")  column1:  dupe:column1  groupcolors:

Based on a simpler parameterless macro I use that does work: `column1:=regex_extract($stem:,"^..") column1: dupe:column1 groupcolors:`


My experience with macros based on creating columns is that they're quite moody, they can work one second and then not work the second after. If a solution avoided it, that'd probably be better.

Any help is appreciated.

Statistics: Posted by TenTickles — Mon May 11, 2026 3:43 pm



Viewing all articles
Browse latest Browse all 2710

Latest Images

Trending Articles



Latest Images