Mark files based on the last characters of a certain selcted file

English support forum

Moderators: white, Hacker, petermad, Stefan2

Calafalas
Junior Member
Junior Member
Posts: 6
Joined: 2018-10-17, 15:03 UTC

Re: Mark files based on the last characters of a certain selcted file

Post by *Calafalas »

This is perfect.
Thank you very much.
User avatar
Ovg
Power Member
Power Member
Posts: 756
Joined: 2014-01-06, 16:26 UTC

Re: Mark files based on the last characters of a certain selcted file

Post by *Ovg »

I wrote a simple AHK script. It accepts two parameters:

Code: Select all

1 - number symbols to match
2 - Direction: L - from the begining of the filename
               R - from the end of the filename

Or

Two numbers - Start and end of a range of symbols from the begining of the filename

Button examples:

Code: Select all

TOTALCMD#BAR#DATA
g:\Select_Similar.ahk
8 R
C:\Program Files\AHK\AutoHotkey.exe,4
Select_Similar

1
-1

Code: Select all

TOTALCMD#BAR#DATA
g:\Select_Similar.ahk
4 9
C:\Program Files\AHK\AutoHotkey.exe,4
Select_Similar

1
-1
Change paths to your actual path for script and AHK.

Script
It's impossible to lead us astray for we don't care even to choose the way.
#259941, TC 11.01 x64, Windows 7 SP1 x64
Post Reply