| View previous topic :: View next topic |
| Author |
Message |
Razlin
Joined: 05 Nov 2007 Posts: 454 Location: canada
|
Posted: Mon Jun 23, 2008 7:59 pm Post subject: |
|
|
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 |
|
 |
no1readsthese
Joined: 08 Feb 2008 Posts: 31 Location: VA
|
Posted: Tue Jun 24, 2008 9:16 pm Post subject: |
|
|
@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 |
|
 |
TBetti Guest
|
Posted: Fri Jul 11, 2008 6:43 am Post subject: |
|
|
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
|
Posted: Mon Jul 14, 2008 1:44 am Post subject: |
|
|
| 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 |
|
 |
Joe Kurtz
Joined: 16 Aug 2008 Posts: 3
|
Posted: Sat Aug 16, 2008 9:20 pm Post subject: |
|
|
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 |
|
 |
kardus
Joined: 17 Jul 2008 Posts: 14
|
Posted: Sat Aug 16, 2008 11:29 pm Post subject: |
|
|
| Very nice script, thanks! |
|
| Back to top |
|
 |
JonathanJ Guest
|
Posted: Wed Aug 27, 2008 4:55 am Post subject: |
|
|
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
|
Posted: Wed Aug 27, 2008 10:22 am Post subject: |
|
|
Nice!
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 |
|
 |
icefreez
Joined: 15 May 2007 Posts: 169
|
Posted: Thu May 28, 2009 9:45 pm Post subject: |
|
|
Wonderful Script. Saved me around a half hour of work today  |
|
| Back to top |
|
 |
EricCartman
Joined: 13 Oct 2008 Posts: 60 Location: South Park, Colorado
|
Posted: Fri May 29, 2009 11:09 am Post subject: |
|
|
| icefreez wrote: | Wonderful Script. Saved me around a half hour of work today  |
I use this script all the time too. It's one of my favorite file renaming utilities. |
|
| Back to top |
|
 |
SoLong&Thx4AllTheFish
Joined: 27 May 2007 Posts: 4999
|
|
| Back to top |
|
 |
Guest
|
Posted: Tue Jun 16, 2009 10:31 am Post subject: |
|
|
| Very nice buddy , really good and clean work |
|
| Back to top |
|
 |
Gauss
Joined: 10 Sep 2009 Posts: 203
|
Posted: Sun Dec 13, 2009 12:29 pm Post subject: |
|
|
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? |
|
| Back to top |
|
 |
kbeez Guest
|
Posted: Fri Jan 01, 2010 2:58 pm Post subject: |
|
|
Is it possible to add regular expression to batch?
I'd like to drag and drop to automatically rename based on regular expression |
|
| Back to top |
|
 |
chris966 Guest
|
Posted: Sun Jan 10, 2010 6:56 am Post subject: |
|
|
| wow very nice!! |
|
| Back to top |
|
 |
|