AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Lightning Renamer (File Renamer)
Goto page Previous  1, 2
 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
Razlin



Joined: 05 Nov 2007
Posts: 434
Location: canada

PostPosted: Mon Jun 23, 2008 7:59 pm    Post subject: Reply with quote

I love it. I use AF5 rename your files (free utility)
But I love this cuz its ahk. so Ill give it a try next time as I do tons and tons of batch and automation in my work.

anyhow.
Found a little Bug which can be easily fixed.

On the string replacement window
if I want to replace all 0 with 1 or what ever it fails.

If !SearchField is If 0 which is False
So instead I search for the lenght of the field to make sure its not 0
anyhow.. you coded 2k+ lines you know what I mean.

Code:

AddStringReplace:
  Gui, ListView, StringReplaceList
  Gui, Submit, NoHide
; If !SearchField
  If strlen(Searchfield) = 0     
      Return
  LV_Add("", SearchField, ReplaceField)


Just my 2 cents.
_________________
-=Raz=-
Back to top
View user's profile Send private message
no1readsthese



Joined: 08 Feb 2008
Posts: 31
Location: VA

PostPosted: Tue Jun 24, 2008 9:16 pm    Post subject: Reply with quote

@Razlin
Thanks for the fix. It never crossed my mind that someone would search for 0. I'll post an update tomorrow since I'm too tired right now. Please continue to submit any bugs you might find

EDIT:
Quick Update
V1.4
- Added Undo Button
- Fixed '0 Read As Blank' Bug (Thanks Razlin)
Back to top
View user's profile Send private message
TBetti
Guest





PostPosted: Fri Jul 11, 2008 6:43 am    Post subject: Reply with quote

I tried out your script, and it's incredibly promising. What really does it for me is the PCRE Regex support - something that many renamers lack.

That being said, I have one bug to report, and a couple of suggestions on what - in my opinion - would improve this script.


The bug is that when using the Case Correction (I've only tried the Capitalize Every Word option so far), it adds a "_1" to the end of every file name.


As for the suggestions, here's what I've got:


1. The biggest thing I wish this script would do is an enhancement to the UI - in particular, I would like the ability to maximize the window, and I would like to have a twin set of panes that stay visible regardless of which tab you're on that show the list of files to be renamed, and a live preview of what they will renamed to given the currently set options. Everything else below are minor suggestions - this one is the big one.

2. When using RegEx rename, allow it so that hitting the Enter key will trigger the rename.

3. Since this script already creates and uses an INI file, it might as well store the last directory used so that you don't have to renavigate every single time.

4. A seperate Complete Undo button, which would undo all changes made that session and restore the files to their original names when you first loaded them into Lightning Renamer.


That's what I'd offer as suggestions to improve the script, but like I said above, it's that first one that I really want the most. Nevertheless, great job!!!
Back to top
no1readsthese



Joined: 08 Feb 2008
Posts: 31
Location: VA

PostPosted: Mon Jul 14, 2008 1:44 am    Post subject: Reply with quote

Thanks TBetti for your suggestions and bug. The bug will be fixed right away along with suggestions 2-4. Your first suggestion is, as you pointed out, the biggest and although, I like the idea of a dual paned interface, it will take some time to complete. Please look forward to it in a future release
Back to top
View user's profile Send private message
Joe Kurtz



Joined: 16 Aug 2008
Posts: 3

PostPosted: Sat Aug 16, 2008 9:20 pm    Post subject: Reply with quote

I haven't tried this script, but a feature I've been trying to find in a renamer forever is the ability to take a string of x characters starting from the beginning or end of the filename, and move it to the end or beginning of the filename, respectively. I'd also like a way to search for wildcard expressions but that's probably too much to ask for.

Check out File Renamer Deluxe for other ideas, it's my favorite renamer.
Back to top
View user's profile Send private message
kardus



Joined: 17 Jul 2008
Posts: 10

PostPosted: Sat Aug 16, 2008 11:29 pm    Post subject: Reply with quote

Very nice script, thanks!
Back to top
View user's profile Send private message
JonathanJ
Guest





PostPosted: Wed Aug 27, 2008 4:55 am    Post subject: Reply with quote

There's something I can't figure out. I want to create a batch that runs several RegEx renames, but I can't find any way to do it. There's nothing on the Batch Rename tab I can find that lets me create a new batch, or to add any steps to the default batch.

What am I missing?
Back to top
n-l-i-d
Guest





PostPosted: Wed Aug 27, 2008 10:22 am    Post subject: Reply with quote

Nice! Cool

There is the excellent Rename Master by JoeJoe (freeware), which I use. You could take a look at it for ideas.

HTH
________________________________________________________
New here? Please, before you post...
1. Read the tutorial and try the examples. -> 2. Take a look at the command list to get an idea of what you could do. -> 3. Create your script. Consult the documentation and the FAQ if you get stuck. -> 4. Search the forum if you need help or examples, method 1 (forum), method 2 (site), method 3 (Google). -> 5. Post your code on the forum in the "Ask for Help" section if you still run into problems (but read this first). -> 6. There is more AHK on autohotkey.net and the Wiki and there is an AHK IRC chat.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group