Small macro challenge?!
Moderators: Hacker, petermad, Stefan2, white
Small macro challenge?!
Hi folks,
I imagine this:
I have a folder that contains the following files:
001.jpg
002.jpg
003.jpg
004.jpg
I want to rename them in a batch to remove ONLY the first zero of each filename, so i get:
01.jpg
02.jpg
etc.....
Actually, i already know how to do this, but i'd like to do it as a one click process.
So, i want to navigate to the folder, select the files and then only perform a one click action to remove the first zero.
Even better would be if that "macro" could be assigned to a button on my buttons bar.
Anyone have any idea if this is achievable?
(BTW, i know how to do it with 3 clicks: multi-rename > select preset > enter)
But i need to do it so often i just want a one click solution!)
Thanks!
I imagine this:
I have a folder that contains the following files:
001.jpg
002.jpg
003.jpg
004.jpg
I want to rename them in a batch to remove ONLY the first zero of each filename, so i get:
01.jpg
02.jpg
etc.....
Actually, i already know how to do this, but i'd like to do it as a one click process.
So, i want to navigate to the folder, select the files and then only perform a one click action to remove the first zero.
Even better would be if that "macro" could be assigned to a button on my buttons bar.
Anyone have any idea if this is achievable?
(BTW, i know how to do it with 3 clicks: multi-rename > select preset > enter)
But i need to do it so often i just want a one click solution!)
Thanks!
Last edited by Dazzer on 2023-12-10, 16:58 UTC, edited 1 time in total.
Re: Small macro challenge?!
Configure MRT and save your scheme as e.g. "RemoveFirstSign"
Make button with command
MULTIRENAME==RemoveFirstSign
Make button with command
MULTIRENAME==RemoveFirstSign
Re: Small macro challenge?!
Hmmm, i like your style, but it's not working for me!
Are you sure this is correct: MULTIRENAME==MyPresetName
?
When i try it, i get a "file not found" error message.
Last edited by Dazzer on 2023-12-10, 17:06 UTC, edited 1 time in total.
Re: Small macro challenge?!
Yes, i'm sure!
Re: Small macro challenge?!
Sorry, i edited my post while you were posting, to say:
When i try it, i get a "file not found" error message.
When i try it, i get a "file not found" error message.
Re: Small macro challenge?!
My settings
rename section of WINCMD.INI
button
P.S. Which version of TC you use?
rename section of WINCMD.INI
Code: Select all
[rename]
RemoveFirstSign_name=[N2-]
RemoveFirstSign_ext=[E]
RemoveFirstSign_params=0|1|1|1
Code: Select all
TOTALCMD#BAR#DATA
MULTIRENAME==RemoveFirstSign
wcmicons.dll
0
-1
Re: Small macro challenge?!
hmmmm, i tried that too, also no dice!
Here's a vid of me in action failing, any ideas?:
https://www.youtube.com/watch?v=xDOvdHBnT3c
Here's a vid of me in action failing, any ideas?:
https://www.youtube.com/watch?v=xDOvdHBnT3c
Re: Small macro challenge?!
It seems you use old version of TC!
Re: Small macro challenge?!
I'm guessing you're using TC version 9.00 or similar
Re: Small macro challenge?!
A-ha, that was problem, updated and now it works.
Thanks a bunch!
Thanks a bunch!