ReNamer:Scripts: Difference between revisions
Jump to navigation
Jump to search
m (Reverted edits by HenryOwens (Talk) to last revision by Den4b) |
(→User scripts: Roman numerals serialization stab) |
||
Line 58: | Line 58: | ||
| [[ReNamer:Scripts:Separate words|Separate words]] | | [[ReNamer:Scripts:Separate words|Separate words]] | ||
| Insert a space in front of each capitalized letter. | | Insert a space in front of each capitalized letter. | ||
| | | http://www.den4b.com/forum/viewtopic.php?pid=2529#p2529 | ||
|- | |- | ||
| [[ReNamer:Scripts:AVI video codec|AVI video codec]] | | [[ReNamer:Scripts:AVI video codec|AVI video codec]] | ||
| Extract name of video codec used encoding AVI file. | | Extract name of video codec used encoding AVI file. | ||
| | | http://www.den4b.com/forum/viewtopic.php?pid=3484#p3484 | ||
|- | |- | ||
| [[ReNamer:Scripts:RegEx Case Convertion|RegEx Case Convertion]] | | [[ReNamer:Scripts:RegEx Case Convertion|RegEx Case Convertion]] | ||
| Convert case of capturing groups of your regular expression. | | 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 | |||
|- | |- | ||
| [[ReNamer:Scripts:Using MasterFile|Using MasterFile]] | | [[ReNamer:Scripts:Using MasterFile|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. | | 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 | ||
|- | |- | ||
| [[ReNamer:Scripts:Hours span|Hours span]] | | [[ReNamer:Scripts:Hours span|Hours span]] | ||
| Add hours to a date embedded in the filename in format yyyy-mm-dd hh-nn-ss.JPG | | 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 | ||
|- | |- | ||
| | | [[ReNamer:Scripts:Roman numerals serialization|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 | |||
|} | |} |
Revision as of 12:43, 5 February 2010
This page contains a collection of scripts which can be used in ReNamer's PascalScript rule.
3rd party libraries
Script | Description | Temp 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 |
Educational scripts
NOTE: This section might not be needed as most will probably go into user manual section as snippets of code!
Script | Description |
---|---|
Initialize | How to initialize the code |
Import DLL functions | Demonstrates how to call functions of 3rd party DLL |
Date and Time | How to use date and time of the file |
Index filenames | Insert a simple index to filenames |
... | ... |
User scripts
Script | Description | Temp 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 |
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 |