Saturday September 11 , 2010
Text Size
   
Welcome, Guest
Please Login or Register.    Lost Password?

Guided eComic file renaming - full GUI
(1 viewing) (1) Guest
Python Scripts for ComicRack
Go to bottomPage: 12345
TOPIC: Guided eComic file renaming - full GUI
**
#807
Guided eComic file renaming - full GUI 2 Years, 7 Months ago Karma: 19
This script allows for the most customized user specified file renaming of the several scripts I've already written. Install the script by extracting the attached file to your \ComicRack\Scripts folder and restarting ComicRack. Right click on the selected eComics to rename. Under the Automation menu item, click on the new item named Guided Rename.... From there the script displays a dialog in which to specify the pattern for renaming files.

Some details:
  • This script does not rename files using ComicRack's file renaming limitations. The only illegal characters are
    \ / : * ? " < > |
    This is enforced by the Windows file system itself. Replacement characters are used for some of the characters.
    " is changed to '
    : is changed to -
    < is changed [
    > is changed to ]
    | is changed to !

  • The following fields can be specified to use as part of the new filename: Series, Volume, Number, Count, Alternate Series, Alternate Number, Alternate Count, Year, Month, Publisher, Imprint, and Title.

  • If any fields are missing for a selected eComic, that comic won't be renamed using the missing field nor any of the prefix or postfix values specified for the field. This allows you to specify things like "( of <count> )" without have a bunch of files missing a count being renamed as "( of )".

  • Numeric fields that have numeric values can be left-padded with zeroes to ensure a minimum width.

  • If the rename cannot be completed, that comic will be skipped.

  • Remembers the last pattern used for renaming and loads it for subsequent renames. Just click Reset to start a new pattern.


That only covers a few features of the script. Tooltips are displayed when you hover the mouse over a control to help you out.

Updated 2008.07.10 02:38 PM EDT - Version 1.6
File Attachment:
File Name: GuidedRename1_6.zip
File Size: 13535
wadegiles
Gold Boarder
Posts: 246
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: USA Birthday: 11/30
Last Edit: 2008/07/10 20:41 By wadegiles.
The administrator has disabled public write access.
 
#808
Re:Guided eComic file renaming - full GUI 2 Years, 7 Months ago Karma: 0
Wow. You just made me very happy. Thanks so much!
mmalone27
Senior Boarder
Posts: 47
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#809
Re:Guided eComic file renaming - full GUI 2 Years, 7 Months ago Karma: 3
Seems nice because I used to do that via Sharkus script and you always have to open that Dos-screen to run Python.

But... Houston we have a problem.
This script doesn't seem to work for me.
Maybe because it's a monday ;o)
Well let's wait what the other users say.
I'll try it again on an free day.
Thanx anyway for the innovation and extras.
Ludwig
Expert Boarder
Posts: 118
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Birthday: 01/01
The administrator has disabled public write access.
 
#811
Re:Guided eComic file renaming - full GUI 2 Years, 7 Months ago Karma: 19
Yep, it doesn't work for me either. Let me run some tests and I'll post a new version.
wadegiles
Gold Boarder
Posts: 246
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: USA Birthday: 11/30
The administrator has disabled public write access.
 
#812
Re:Guided eComic file renaming - full GUI 2 Years, 7 Months ago Karma: 19
New version 1.1 in first post. Please redownload and overwrite the old script.
wadegiles
Gold Boarder
Posts: 246
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: USA Birthday: 11/30
Last Edit: 2008/01/21 22:13 By wadegiles.
The administrator has disabled public write access.
 
#813
Re:Guided eComic file renaming - full GUI 2 Years, 7 Months ago Karma: 0
It's excellent, although there is one thing it lacks. Would it be possible to have it save the renaming pattern between uses? I've kept it in the clipboard, but it would be nice if it would just be there when I call the renamer.
Sopoforic
Junior Boarder
Posts: 25
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#814
Re:Guided eComic file renaming - full GUI 2 Years, 7 Months ago Karma: 19
As requested, the new version 1.2 saves the last pattern used to rename files and fills the template text box with it on subsequent runs. If you Cancel the rename operation, the current template won't be saved.

One thing to note is that it doesn't fill the prefix, postfix, and padding fields in the builder section. This means the template field won't be in synch with those fields but just click the Reset button to clear that up.

Check the first post for an updated version.
wadegiles
Gold Boarder
Posts: 246
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: USA Birthday: 11/30
Last Edit: 2008/01/22 05:35 By wadegiles.
The administrator has disabled public write access.
 
#816
I like it 2 Years, 7 Months ago Karma: 3
Thanx works good with ZIP-files.
Curious about the next script :o)
Keep up the great work.
Ludwig
Expert Boarder
Posts: 118
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Birthday: 01/01
The administrator has disabled public write access.
 
#832
Re:I like it 2 Years, 7 Months ago Karma: 0
Thanks for the update, but it doesn't seem to work as intended. Observe:

1. Select some files to rename and input a pattern (e.g. "<series0> ""V<volume0> ""<number0> ""(of <count0>) ""(<year0>-<month2>)")

2. Note that the rename works correctly.

3. Select the files again to rename and notice that the pattern that appears ("<series0> ""V<volume0> ""<number3> ""(of <count3>) ""(<year0>) ") is not the one previously used.

Also, the thing says that the operation successfully completed even when hitting cancel. Probably better to keep it quiet when doing that.
Sopoforic
Junior Boarder
Posts: 25
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#834
Re:I like it 2 Years, 7 Months ago Karma: 19
You are correct. I'll fix that and post a new version.

cYo, I wish we could turn off those crappy emoticons in the script forum!
wadegiles
Gold Boarder
Posts: 246
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: USA Birthday: 11/30
Last Edit: 2008/01/25 23:52 By wadegiles.
The administrator has disabled public write access.
 
Go to topPage: 12345
Moderators: 600WPMPO, Stonepaw

Who's Online

We have 78 guests online

IM

You are not logged in.