AutoHotkey Community

It is currently May 27th, 2012, 12:31 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 33 posts ]  Go to page Previous  1, 2, 3  Next
Author Message
 Post subject:
PostPosted: June 23rd, 2008, 8:59 pm 
Offline

Joined: November 5th, 2007, 7:25 pm
Posts: 454
Location: canada
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=-


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 24th, 2008, 10:16 pm 
Offline

Joined: February 8th, 2008, 9:17 pm
Posts: 31
Location: VA
@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)


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 11th, 2008, 7:43 am 
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!!!


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: July 14th, 2008, 2:44 am 
Offline

Joined: February 8th, 2008, 9:17 pm
Posts: 31
Location: VA
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 16th, 2008, 10:20 pm 
Offline

Joined: August 16th, 2008, 3:14 pm
Posts: 3
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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 17th, 2008, 12:29 am 
Offline

Joined: July 17th, 2008, 7:16 pm
Posts: 15
Very nice script, thanks!


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 27th, 2008, 5:55 am 
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?


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: August 27th, 2008, 11:22 am 
Nice! 8)

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.


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: May 28th, 2009, 10:45 pm 
Offline

Joined: May 15th, 2007, 8:59 pm
Posts: 169
Wonderful Script. Saved me around a half hour of work today :D


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 29th, 2009, 12:09 pm 
Offline

Joined: October 13th, 2008, 4:14 pm
Posts: 60
Location: South Park, Colorado
icefreez wrote:
Wonderful Script. Saved me around a half hour of work today :D


I use this script all the time too. It's one of my favorite file renaming utilities.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 29th, 2009, 6:41 pm 
Offline

Joined: May 27th, 2007, 9:41 am
Posts: 4999
Not to discredit this script, but if you are interested
in such things you should give majkinetors'

Multi-Rename Script
http://www.autohotkey.com/forum/topic40688.html

a spin, it is an improved "clone" of the multi rename tool
of totalcmd, including the ability for plugins.

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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 16th, 2009, 11:31 am 
Very nice buddy , really good and clean work


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: December 13th, 2009, 1:29 pm 
Offline

Joined: September 10th, 2009, 5:54 pm
Posts: 203
Can I rename folders too? I can't figure it out

Edit:

I just noticed that I will have to tab actions every time I launch it for rules to take effect, I'm I missing something here?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 1st, 2010, 3:58 pm 
Is it possible to add regular expression to batch?

I'd like to drag and drop to automatically rename based on regular expression


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: January 10th, 2010, 7:56 am 
wow very nice!!


Report this post
Top
  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 33 posts ]  Go to page Previous  1, 2, 3  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: Cristi®, Google Feedfetcher, tidbit and 54 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