AutoHotkey Community

It is currently May 26th, 2012, 6:14 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 92 posts ]  Go to page 1, 2, 3, 4, 5 ... 7  Next
Author Message
PostPosted: February 6th, 2009, 11:26 am 
Offline

Joined: May 24th, 2006, 2:49 pm
Posts: 4511
Location: Belgrade
    Multi-Rename Script
    Open source application for massive file renaming.


    Download                  Documentation                  Write Plugin


    Image



    Notes:
    • On Windows 7, you need to disable the DEP protection on AHK (or MRS.exe in this case).
    • 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.



_________________
Image


Last edited by majkinetor on March 22nd, 2010, 2:13 am, edited 22 times in total.

Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 9th, 2009, 8:34 pm 
Offline

Joined: January 18th, 2006, 7:39 am
Posts: 274
Location: Conway, Arkansas
Very nice, maj.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 10th, 2009, 7:06 am 
Offline

Joined: October 1st, 2005, 9:55 pm
Posts: 775
Location: Texas, USA
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. 8)


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 10th, 2009, 11:40 am 
Offline

Joined: May 24th, 2006, 2:49 pm
Posts: 4511
Location: Belgrade
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.

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 10th, 2009, 6:39 pm 
Online

Joined: March 10th, 2008, 12:55 am
Posts: 1907
Location: Minnesota, USA
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 afraid
*poke*
Note: My name is all lowercase for a reason.
"I think Bigfoot is blurry, that's the problem. It's not the photographer's fault, Bigfoot is blurry. So there's a large, out-of-focus monster roaming the countryside."


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 10th, 2009, 11:05 pm 
Offline

Joined: July 24th, 2005, 4:29 am
Posts: 27
Location: Rheinland
AHK beats Delphi, once again! Great job, old chap! ;)

Icfu

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 10th, 2009, 11:14 pm 
Great work. There is one thing I missed compared to Total Commander file renaming though:
Fullscreen possibility, using my 1680x1050 resolution...


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: February 11th, 2009, 9:44 am 
Offline

Joined: May 12th, 2005, 8:20 am
Posts: 331
Location: Münster, Germany
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 11th, 2009, 11:02 am 
Offline

Joined: May 24th, 2006, 2:49 pm
Posts: 4511
Location: Belgrade
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.

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 11th, 2009, 5:41 pm 
Offline

Joined: March 16th, 2005, 10:33 pm
Posts: 969
Location: Frisia
Excellente! 8)

Keep up the good work!

_________________
Image mirror 1mirror 2mirror 3ahk4.me • PM or Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 12th, 2009, 1:33 am 
Offline

Joined: July 29th, 2005, 5:32 pm
Posts: 179
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. :D

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 !! 8)

_________________
.o0[ corey ]0o.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 12th, 2009, 4:33 pm 
Offline

Joined: May 24th, 2006, 2:49 pm
Posts: 4511
Location: Belgrade
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.

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject: unicode
PostPosted: November 5th, 2009, 6:47 pm 
Very nice renaming tool! however, unicode is not supported.
Any idea on how to solve that?


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: November 18th, 2009, 1:40 pm 
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.


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: November 18th, 2009, 2:28 pm 
Offline

Joined: May 27th, 2007, 9:41 am
Posts: 4999
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.

_________________
AHK FAQ
TF : Text files & strings lib, TF Forum


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 92 posts ]  Go to page 1, 2, 3, 4, 5 ... 7  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 9 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group