Welcome, Guest
Python Scripts for ComicRack

TOPIC: Copy/Move info among fields

Re: [Request] Copy/Move info among fields 5 years 1 day ago #34794

  • inSane
  • inSane's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 16
  • Thank you received: 1
  • Karma: 1
You can group and arrange comics by fields, also the custom ones, so I guess those are fields, but then again, what are tags?

(will chrome let me add a jpg once I hit the submit button...)




(yep, chrome works)
Last Edit: 5 years 1 day ago by inSane.
The administrator has disabled public write access.

Re: [Request] Copy/Move info among fields 4 years 7 months ago #37239

  • T3KN0Gh057
  • T3KN0Gh057's Avatar
  • Offline
  • Platinum Boarder
  • Posts: 407
  • Thank you received: 114
  • Karma: 27
ok, some of you will remember i had planned to modify this script to use regular expressions, however. With docdoom currently very busy i've sort of delved deep into datamanager and integrated what was planned for this script into it there will be a new Modifier called RegExVarReplace(should be available in the next release of data manager) basically you just use named capture groups to specify the fields to put things into ...

Example:
FileName: [1992-07] Archer & Armstrong #000 (of 026).cbz
Regular Expression: \[(?<Year>(0-9]{4})-(?<Month>[0-9]{2})\] (?<Series>[^#]+) #(?<Number>[0-9]+) \(of (?<Count>[0-9]+)\)

You can even create (or modify) custom fields, simply by adding a capture group named anything that is not handled by Data Manager specifically.
FileName: Wander - Olive Hopkins and the Ninth Kingdom 003 (2013) (digital) (Son of Ultron-Empire)
Regular Expression #1: \((?<Scanner>[^-]+)-(?<ScanGroup>Empire)\)

which results in creating the two custom fields and their values
Scanner: Son of Ultron
ScanGroup: Empire
Last Edit: 4 years 7 months ago by T3KN0Gh057.
The administrator has disabled public write access.
The following user(s) said Thank You: 600WPMPO, oraclexview, docdoom

[Request] Copy/Move info among fields 2 years 7 months ago #43822

  • freMea
  • freMea's Avatar
  • Offline
  • Junior Boarder
  • Posts: 38
  • Thank you received: 5
  • Karma: 1
@600WPMPO

Please edit topic title and edit first post to add link to CopyMoveField1.3.1.crplugin, the last posted by stonepaw.

I almost missed this script because there is absolutely no clues in topic title and first post that topic contains a functional and valuable script.
Last Edit: 2 years 7 months ago by freMea.
The administrator has disabled public write access.
The following user(s) said Thank You: 600WPMPO

Copy/Move info among fields 2 years 7 months ago #43928

  • 600WPMPO
  • 600WPMPO's Avatar
  • Offline
  • Moderator
  • Posts: 3788
  • Thank you received: 558
  • Karma: 234
freMea wrote:
@600WPMPO

Please edit topic title and edit first post to add link to CopyMoveField1.3.1.crplugin, the last posted by stonepaw.

I almost missed this script because there is absolutely no clues in topic title and first post that topic contains a functional and valuable script.

Aaaaaand.... done!

Thanks for pointing this out... :cheer:
Now Playing: The ComicRack Manual (Online)

See my new comics & gadgets on: Tumblr!
Last Edit: 2 years 7 months ago by 600WPMPO.
The administrator has disabled public write access.
The following user(s) said Thank You: freMea
Time to create page: 0.252 seconds

Who's Online

We have 206 guests and one member online