NameRe — Batch Rename System (FAR 2.0 x86/x64)
NameRe — Batch Rename System (FAR 2.0 x86/x64)
Anounce
1. Feature request: rename filenames via far internal editor (like "Visual rename" -> F4). I like block selection manipulations
2.
3. "Autopreview" checkbox in configuration dialog?
4. Can you support more templates?
[N] Old file name WITHOUT extension.
[N2] 2-nd character from old name.
[N2-5] Characters from 2-nd to 5-th from old name.
It's small extract from "Visual rename" help
1. Feature request: rename filenames via far internal editor (like "Visual rename" -> F4). I like block selection manipulations
2.
3. "Autopreview" checkbox in configuration dialog?
4. Can you support more templates?
[N] Old file name WITHOUT extension.
[N2] 2-nd character from old name.
[N2-5] Characters from 2-nd to 5-th from old name.
It's small extract from "Visual rename" help
Re: NameRe - Batch Rename System (FAR 2.0 x86/x64)
1. Had considered doing filenames via far internal editor (like Renamer in Far 1.x) but it's outside the scope of this type of batch rename tool...wouldn't know where to access it from within the current layout (another entry?!?). It should really be a separate plugin...
2. Damn couldn't get the dialog API to display separators correctly so I had to do it manually (and obviously chose a bad character). Will add a registry entry for the character so that the user can adjust it if needed...the API is a bit of a mess
3. That's because the template only works on the NAME part of files, unless the "Extension from Template" option is enabled - this is the same way Windows Explorer works when extensions are hidden. To specify extensions in the template check "Extension from Template"...
4. Played around with auto preview, but it get's really slow after a while (esp for large selections) if it's done for every change to the edit controls - so I decided against it. Of course, the ideal would be to have it only update if no changes are made for 1 or 2 seconds - but to get that working would require yet another separate thread (since the dialog API is annoyingly single threaded, queue's anyone?!?) that would do the timing and would then call the preview thread...etc. etc. its a mess. However, now that I've finished the plugin I might look into that again...
Not gonna add more templates right now, maybe later...and * is filename without extension!! (see 3.)
2. Damn couldn't get the dialog API to display separators correctly so I had to do it manually (and obviously chose a bad character). Will add a registry entry for the character so that the user can adjust it if needed...the API is a bit of a mess
3. That's because the template only works on the NAME part of files, unless the "Extension from Template" option is enabled - this is the same way Windows Explorer works when extensions are hidden. To specify extensions in the template check "Extension from Template"...
4. Played around with auto preview, but it get's really slow after a while (esp for large selections) if it's done for every change to the edit controls - so I decided against it. Of course, the ideal would be to have it only update if no changes are made for 1 or 2 seconds - but to get that working would require yet another separate thread (since the dialog API is annoyingly single threaded, queue's anyone?!?) that would do the timing and would then call the preview thread...etc. etc. its a mess. However, now that I've finished the plugin I might look into that again...
Not gonna add more templates right now, maybe later...and * is filename without extension!! (see 3.)
Re: NameRe - Batch Rename System (FAR 2.0 x86/x64)
From help:
NameRe is able to rename both files and folders.
Action:
Select any directory. Call plugin
Message:
Invalid Selection, Nothing to Rename
Why?
Other question: Why so strange type of message (all noun are capitalize)?
NameRe is able to rename both files and folders.
Action:
Select any directory. Call plugin
Message:
Invalid Selection, Nothing to Rename
Why?
Other question: Why so strange type of message (all noun are capitalize)?
Re: NameRe - Batch Rename System (FAR 2.0 x86/x64)
Go to config and enable the "Allow Folder Rename" under general....
Hahaha...so you ask me about strange messages by saying:
"Why so strange type of message (all noun are capitalize)?"
If u want to question my use of language, you should at least do it properly...try:
"Why such a strange type of message (all nouns are capitalized)?"
...and no, they're not, it's called Title Caps and it's just my preference for messages like that.
Hahaha...so you ask me about strange messages by saying:
"Why so strange type of message (all noun are capitalize)?"
If u want to question my use of language, you should at least do it properly...try:
"Why such a strange type of message (all nouns are capitalized)?"
...and no, they're not, it's called Title Caps and it's just my preference for messages like that.
-
- Posts: 1515
- Joined: Wed 16 Mar, 2005 06:26
- Location: Новосибирск
- Been thanked: 1 time
- Contact:
Re: NameRe - Batch Rename System (FAR 2.0 x86/x64)
Can you provide static version of the plugin? It`s not possible to use this plugin in portable version of far.
Ты мне не выкай!
«ФарФорум не для пользователей!»
Upd:
P.S. Я просто поддерживаю беседу.» © Народ.
xmpp:kildor@jabber.ru
«ФарФорум не для пользователей!»
Upd:
P.S. Я просто поддерживаю беседу.» © Народ.
xmpp:kildor@jabber.ru
Re: NameRe - Batch Rename System (FAR 2.0 x86/x64)
Do you mean a statically linked version (ie. non-dependant on the redist)?
- John Doe
- Бюрократ
- Posts: 13855
- Joined: Wed 27 Apr, 2005 20:42
- Has thanked: 73 times
- Been thanked: 428 times
- Contact:
Re: NameRe - Batch Rename System (FAR 2.0 x86/x64)
Could you make NameRe also update file descriptions (files.bbs/descript.ion)?
https://t.me/FarManager — Telegram чат
- Centaur
- Posts: 1083
- Joined: Tue 05 Apr, 2005 20:09
- Location: Novosibirsk, Russia
- Been thanked: 2 times
Re: NameRe - Batch Rename System (FAR 2.0 x86/x64)
Does it support renaming by regular expression?
PS: Title Case vs Sentence case is not a matter of personal preference, it is a matter of UI guidelines. On Windows, guidelines suggest sentence case for error messages.
PS: Title Case vs Sentence case is not a matter of personal preference, it is a matter of UI guidelines. On Windows, guidelines suggest sentence case for error messages.
-
- Posts: 1515
- Joined: Wed 16 Mar, 2005 06:26
- Location: Новосибирск
- Been thanked: 1 time
- Contact:
Re: NameRe - Batch Rename System (FAR 2.0 x86/x64)
> Do you mean a statically linked version (ie. non-dependant on the redist)?
Exactly. Sorry if I`ve wrote wrong.
Exactly. Sorry if I`ve wrote wrong.
Ты мне не выкай!
«ФарФорум не для пользователей!»
Upd:
P.S. Я просто поддерживаю беседу.» © Народ.
xmpp:kildor@jabber.ru
«ФарФорум не для пользователей!»
Upd:
P.S. Я просто поддерживаю беседу.» © Народ.
xmpp:kildor@jabber.ru
Re: NameRe - Batch Rename System (FAR 2.0 x86/x64)
@ John Doe - i've never used those, but if u give me some details as to what changes need to be made (like a small example before/after file) i'll look into it - I'm assuming they contain file lists but am not aware of the exact format. I remember those from loooong ago
@ Centaur - no, this is supposed to be a simple and fast plugin (able to do very large number of files in as little time as possible), so I'll not be supporting regular expressions or substrings or any other stuff for templates right now...and as for Title Case vs. Sentence case, to me it IS a matter of personal preference (guidelines aren't rules, and even those are meant to be broken) - so no offence but... my plugin, my preference
@ Kildor - no problem, once i've tweaked and made a couple of changes I'll do a static build for the next version...against Windows guidelines btw.
@ Centaur - no, this is supposed to be a simple and fast plugin (able to do very large number of files in as little time as possible), so I'll not be supporting regular expressions or substrings or any other stuff for templates right now...and as for Title Case vs. Sentence case, to me it IS a matter of personal preference (guidelines aren't rules, and even those are meant to be broken) - so no offence but... my plugin, my preference
@ Kildor - no problem, once i've tweaked and made a couple of changes I'll do a static build for the next version...against Windows guidelines btw.
-
- Posts: 1515
- Joined: Wed 16 Mar, 2005 06:26
- Location: Новосибирск
- Been thanked: 1 time
- Contact:
Re: NameRe - Batch Rename System (FAR 2.0 x86/x64)
Well. I have some computers without admin accounts, and without *any* mscvrt* dlls. And I`m able to use 7th runtimes from programm folder, but not 8+. So, I can use static version of plugin, or don`t use it at all.
Ты мне не выкай!
«ФарФорум не для пользователей!»
Upd:
P.S. Я просто поддерживаю беседу.» © Народ.
xmpp:kildor@jabber.ru
«ФарФорум не для пользователей!»
Upd:
P.S. Я просто поддерживаю беседу.» © Народ.
xmpp:kildor@jabber.ru
- John Doe
- Бюрократ
- Posts: 13855
- Joined: Wed 27 Apr, 2005 20:42
- Has thanked: 73 times
- Been thanked: 428 times
- Contact:
Re: NameRe - Batch Rename System (FAR 2.0 x86/x64)
descript.ion / file.bbs
codepage: oem or win
- filename must start from very beginning of line
- description is separated from filename by space(s) or tab(s)
- filename may be in long or in short form
- filename may be enclosed in quotes
codepage: oem or win
Code: Select all
filename.ext description
filena~1.ext description
"filename with spaces.ext" description
filename.ext multiline description line 1
multiline description line 2
multiline description line 3
- description is separated from filename by space(s) or tab(s)
- filename may be in long or in short form
- filename may be enclosed in quotes
https://t.me/FarManager — Telegram чат
- HaRT
- Moderator
- Posts: 10863
- Joined: Tue 30 Aug, 2005 17:21
- Has thanked: 221 times
- Been thanked: 358 times
Re: NameRe - Batch Rename System (FAR 2.0 x86/x64)
I believe that it should be OEM only due to historic reasons.John Doe wrote:codepage: oem or win
Need(less) to say, “may” becomes “must” if file name contains a white space.John Doe wrote:filename may be enclosed in quotes
Фар есть инструмент, а не нянька. © 2009 DrKnS
- John Doe
- Бюрократ
- Posts: 13855
- Joined: Wed 27 Apr, 2005 20:42
- Has thanked: 73 times
- Been thanked: 428 times
- Contact:
Re: NameRe - Batch Rename System (FAR 2.0 x86/x64)
There are 3rd party applications using win-codepage for descript.ionHaRT wrote: I believe that it should be OEM only due to historic reasons.
https://t.me/FarManager — Telegram чат
- HaRT
- Moderator
- Posts: 10863
- Joined: Tue 30 Aug, 2005 17:21
- Has thanked: 221 times
- Been thanked: 358 times
Re: NameRe - Batch Rename System (FAR 2.0 x86/x64)
There's too much non-conformant software in the world. I wouldn't take these as a model.John Doe wrote:There are 3rd party applications using win-codepage for descript.ion
Фар есть инструмент, а не нянька. © 2009 DrKnS