| View previous topic :: View next topic |
| Author |
Message |
majkinetor
Joined: 24 May 2006 Posts: 4116 Location: Belgrade
|
Posted: Fri Feb 06, 2009 11:26 am Post subject: Multi-Rename Script v1.5c (Unicode) |
|
|
Multi-Rename Script
Open source application for massive file renaming.
Download Documentation Write Plugin
Notes:
- Some Total Commander plugins are included in the archive for operational and presentational purposes (AnyTag, FileX, Images, ShellDetails, WdHash). For more info see their respective pages.
- Script includes ready to use module TCwdx.ahk which can be used to operate with Total Commander content plugins.
- Total Commander users can add MRS to the menu with %UL parameter. TC post is here.
ChangeLog
v1.5c 19/02/2010
! Fixed issue with content plugins that have - in the name (i.e. jpg-comment.wdx)
+ Optimization: Improved speed of editor preview a lot.
v1.5b
+ TCWdx module improved:
+ Unicode support for TC content plugins - module will first try W export, then A export, then it will return error.
+ It cashes function adresses for faster subsequent calls. HTML manual for external use.
* Removed dependency on folder names to be equal to content plugins names. When TC ini file is not present, module now searches recursively for all wdx files in the \plugins folder.
* Range will no longer flicker in "select range" inputbox. Inputbox is wider.
+ Added TC content plugin cputil.wdx which allows to find file names with characters from a different code page, and rename them using conversion table.
+ ShellDetails.wdx updated to Unicode version.
v1.5a
+ Unicode support in GUI and AHK Plugins. Total Commander plugins are still not unicode (because they still mostly don't support it).
+ Resizable window (window placement is saved in ini)
+ Rename operation will create directory if it doesn't exist (__meta__)
+ If you hold CTRL while using drag&drop or shell extension to add single folder, MRS will add its files instead.
* Preset Save button and DropDown replaced with single editable ComboBox. To save preset write its desired name and press ENTER. To load preset select it from the list or type its name.
* You don't need AHK anymore to run MRS. AHKL is included in the archive, renamed to MRS.exe so you don't have to install it. MRS.ahk itself is renamed to AutoHotKey.ini.
+ Optimization: 10% faster renaming.
v1.1
* ComboX, HLink modules updated. This will fix ComboX issue where plugin buttons were drawn over it.
+ CTRL + A hotkey added to select all files in the list view.
+ Little gui improvements.
! Bugfix: Script freezing, mostly on Win7 & Vista.
+ New AHK plugin Sub: Extracts substring from file name from str1 up to the str2.
_________________

Last edited by majkinetor on Fri Feb 19, 2010 11:01 am; edited 21 times in total |
|
| Back to top |
|
 |
skwire
Joined: 18 Jan 2006 Posts: 267 Location: Conway, Arkansas
|
Posted: Mon Feb 09, 2009 8:34 pm Post subject: |
|
|
| Very nice, maj. |
|
| Back to top |
|
 |
jballi
Joined: 01 Oct 2005 Posts: 537 Location: Texas, USA
|
Posted: Tue Feb 10, 2009 7:06 am Post subject: |
|
|
I'm not sure if this will replace the current renaming tool that I use but I'm going to give it a shot. Thanks for sharing.  |
|
| Back to top |
|
 |
majkinetor
Joined: 24 May 2006 Posts: 4116 Location: Belgrade
|
Posted: Tue Feb 10, 2009 11:40 am Post subject: |
|
|
To my knowledge, there are no tools around that support scripting. Thats the main point of this - you want some more, write simple AHK script. _________________
 |
|
| Back to top |
|
 |
tidbit
Joined: 10 Mar 2008 Posts: 675 Location: USA
|
Posted: Tue Feb 10, 2009 6:39 pm Post subject: |
|
|
I like it
now I have to renamers to fight over when I need to mass rename. though yours is more user friendly I would say. _________________ rawr. be very affraid
*poke*
Note: My name is all lowercase for a reason. |
|
| Back to top |
|
 |
Icfu
Joined: 24 Jul 2005 Posts: 27 Location: Rheinland
|
Posted: Tue Feb 10, 2009 11:05 pm Post subject: |
|
|
AHK beats Delphi, once again! Great job, old chap!
Icfu _________________
 |
|
| Back to top |
|
 |
Guest
|
Posted: Tue Feb 10, 2009 11:14 pm Post subject: |
|
|
Great work. There is one thing I missed compared to Total Commander file renaming though:
Fullscreen possibility, using my 1680x1050 resolution... |
|
| Back to top |
|
 |
Klaus
Joined: 12 May 2005 Posts: 256 Location: Münster, Germany
|
Posted: Wed Feb 11, 2009 9:44 am Post subject: |
|
|
Hi, majkinetor,
really great job, congratulations!
Seeing that wonderful piece of software, I don't dare publishing my own renamer tool anymore.
Allow me one suggestion:
What about a folder-choose-dialogue (plus file name filtering) to select
the file that are to be renamed?
Having "only" the drag and drop option it forces me to have a windows explorer (or something else) opened!
Would you please think about it?
Thanks again for sharing your work with us!
Regards,
Klaus |
|
| Back to top |
|
 |
majkinetor
Joined: 24 May 2006 Posts: 4116 Location: Belgrade
|
Posted: Wed Feb 11, 2009 11:02 am Post subject: |
|
|
| Quote: | | AHK beats Delphi, once again! Great job, old chap! |
LOL. I am never filled up of your humor mate. Cheers (long time no see btw)
| Quote: | Great work. There is one thing I missed compared to Total Commander file renaming though:
Fullscreen possibility, using my 1680x1050 resolution... |
Resizing will eventually make it in app. For now:
Open the mrs.ahk and set new values in line 11:
gGuiHeight := 500, gGuiWidth := 730
Application will rescale automatically on next restart (becasue I planned resizing)
| Quote: | | Seeing that wonderful piece of software, I don't dare publishing my own renamer tool anymore. |
You can always enhance MRS instead
| Quote: | What about a folder-choose-dialogue (plus file name filtering) to select
the file that are to be renamed?
Having "only" the drag and drop option it forces me to have a windows explorer (or something else) opened!
Would you please think about it? |
Mhm.... I don't know about that. Ill think about it.
The thing is that it is really ment as integration tool for your favorite file manager. In file manager you already can select files - for instance in Explorer, select with control key then use "Add to MRS" shell extension, (u must enable it first via ? menu in MRS).
Additionally, you can remove files or group of files from the list with DEL (kind of filtering).
In any basic file manager (which Explorer is not) you can quicly filter by any part of the name (even in explorer with searching then using shelle xtension again). I use TC, which has great filtering mechanism, and branch view (flat view of subfolders) is really handy for renmaing.
The benefit is only there if you use MRS per se. _________________
 |
|
| Back to top |
|
 |
daonlyfreez
Joined: 16 Mar 2005 Posts: 841 Location: Berlin
|
Posted: Wed Feb 11, 2009 5:41 pm Post subject: |
|
|
Excellente!
Keep up the good work! _________________
My AHK stuff on ahk.net / on DropBox (mirror) / @home (if online) |
|
| Back to top |
|
 |
freakkk
Joined: 29 Jul 2005 Posts: 179
|
Posted: Thu Feb 12, 2009 1:33 am Post subject: |
|
|
majkinetor- this is excellent utility, that I find myself using daily. It quickly replaced the two other apps I was using before, and its flexibility has enabled me to "tweak it" to suit the job at hand.. in ways that weren't possible before.
I appreciate the awesome example/implementation of DropTarget too. From the thorough documentation, to inspirational implementation of plugins-- thank you for releasing such a great piece of AHK kit !!  _________________ .o0[ corey ]0o. |
|
| Back to top |
|
 |
majkinetor
Joined: 24 May 2006 Posts: 4116 Location: Belgrade
|
Posted: Thu Feb 12, 2009 4:33 pm Post subject: |
|
|
One note about plugins.
This script is developed/designed rougly a year ago. I didn't release it so far because I wanted to test it good, and because I was lazy
In that time dyn. func. calls weren't in Lex mind yet. I could use "Call module" back then but in my tests it was multiple times slower then fast gsub calls. Now I could use dyn funcs but since plugin API is so easy/trivial, I doubt it would be of any benefit, plus you can achieve the same effect by calling the function inside subroutine and saving its result in #Res variable.
The next thing I am thinking about will be totall separation of engine and interface so you can create even more complex "MRS scripts", most notably N-degree preset manager in the form:
| Code: | | fileList -> P1 -> P2 .... -> Pn -> fileList2 |
where Pi are MRS processing presets.
Its often needed thing, the human mind can more easily think in several steps then 1 single step. This will effectively replace the need for rename-reload-rename procedure. _________________
 |
|
| Back to top |
|
 |
Guest
|
Posted: Thu Nov 05, 2009 6:47 pm Post subject: unicode |
|
|
Very nice renaming tool! however, unicode is not supported.
Any idea on how to solve that? |
|
| Back to top |
|
 |
TOR user Guest
|
Posted: Wed Nov 18, 2009 1:40 pm Post subject: |
|
|
Thanks for sharing this great tool. One of the best renaming software out there (I have almost tried them all).
I used it for renaming 20200 files at once, and it did perfectly.
It could only have been better if no need to search for all the files but instead drag the parent folder filtering with *.mp3.
I mean, it would be really nice to be able to choose between adding a folder only (default behaviour), or also include files and /or subfolders inside it, making use of filters
RegEx would be also a great addition for powering Search & Replace.
I guess Unicode is supported if running Autohotkey_U, but ddlcalls must be translated for it to work. |
|
| Back to top |
|
 |
hugov
Joined: 27 May 2007 Posts: 2456
|
Posted: Wed Nov 18, 2009 2:28 pm Post subject: |
|
|
| TOR user wrote: | | RegEx would be also a great addition for powering Search & Replace. | That is already supported as far as I know, see the RE checkbox in the screenshot above. _________________ Tut 4 Newbies
TF : Text file & string lib, TF Forum |
|
| Back to top |
|
 |
|