Difference between revisions of "ReNamer:Scripts"

From den4b Wiki
Jump to navigation Jump to search
Line 76: Line 76:
 
| Serialization with Roman numerals.
 
| Serialization with Roman numerals.
 
| http://www.den4b.com/forum/viewtopic.php?id=828<br/>http://www.den4b.com/forum/viewtopic.php?pid=3327#p3327
 
| http://www.den4b.com/forum/viewtopic.php?id=828<br/>http://www.den4b.com/forum/viewtopic.php?pid=3327#p3327
 +
|-
 +
| [[ReNamer:Scripts:EAN-13|EAN-13 checksum]]
 +
| Calculate the checksum digit for the [http://en.wikipedia.org/wiki/EAN-13 EAN-13 barcode].
 +
| http://www.den4b.com/forum/viewtopic.php?id=930
 
|-
 
|-
 
| [[ReNamer:Scripts:Serialize duplicates|Serialize duplicates]]
 
| [[ReNamer:Scripts:Serialize duplicates|Serialize duplicates]]
Line 81: Line 85:
 
|
 
|
 
|-
 
|-
| [[ReNamer:Scripts:EAN-13|EAN-13 checksum]]
+
| [[ReNamer:Scripts:Partial case change|Partial case change]]
| Calculate the checksum digit for the [http://en.wikipedia.org/wiki/EAN-13 EAN-13 barcode].
+
| Change case of specific parts of the file name.
| http://www.den4b.com/forum/viewtopic.php?id=930
 
 
|}
 
|}
 +
 
[[Category:ReNamer]]
 
[[Category:ReNamer]]

Revision as of 17:58, 9 February 2011

This page contains a collection of scripts which can be used in ReNamer's PascalScript rule.

Educational scripts

Script Description
Initialize How to initialize the code.
Import DLL Demonstrates how to call functions of 3rd party DLL.
Date and Time How to use date and time of the file.
Move filename portion How to move part of the filename to a new position.
Index filenames How to insert an incrementing number into the filename.

3rd party libraries

Script Description Forum Link
TrID Detecting file extension. http://www.den4b.com/forum/viewtopic.php?id=550
Xpdf Extract PDF tags. http://www.den4b.com/forum/viewtopic.php?id=349
Exiv2 Extract EXIF/IPTC/XMP tags from any images. http://www.den4b.com/forum/viewtopic.php?id=407
http://www.den4b.com/forum/viewtopic.php?id=109

User scripts

Script Description Forum Link
Separate words Insert a space in front of each capitalized letter. http://www.den4b.com/forum/viewtopic.php?pid=2529#p2529
AVI video codec Extract name of video codec used encoding AVI file. http://www.den4b.com/forum/viewtopic.php?pid=3484#p3484
RegEx Case Convertion Convert case of capturing groups of your regular expression. http://www.den4b.com/forum/viewtopic.php?pid=3454#p3454
http://www.den4b.com/forum/viewtopic.php?pid=3459#p3459
Using MasterFile Renaming folder basing on the MetaTag of the first file in the folder. In this particular case: adding the ID3_Year metatag from the mp3 file to it's parent folder name. http://www.den4b.com/forum/viewtopic.php?pid=1626#p1626
Hours span Add hours to a date embedded in the filename in format "yyyy-mm-dd hh-nn-ss.JPG". http://www.den4b.com/forum/viewtopic.php?id=696
Roman numerals serialization Serialization with Roman numerals. http://www.den4b.com/forum/viewtopic.php?id=828
http://www.den4b.com/forum/viewtopic.php?pid=3327#p3327
EAN-13 checksum Calculate the checksum digit for the EAN-13 barcode. http://www.den4b.com/forum/viewtopic.php?id=930
Serialize duplicates Serialize duplicated filenames by append a counter to the filename.
Partial case change Change case of specific parts of the file name.