This is my IMatch-Scriptsection!

You can find some (maybe) useful scripts for Mario Westphals IMatch.
IMatch is a very powerfull Image-Management/Database-Software.

If you don't know it, have a look at http://www.photools.com/

 

These Scripts can be used any way, but also without any kind of warranty!

If you don't agree, please leave now.


|  Overview  |  Sitemap  |  Downloads  |   last update: June 12, 2022


newScriptTeaser, a little Winkyman = new Script      updatedScriptTeaser, a little Winkyman = updated Script

DB-Organization:

Multi Database Transmission V 1.2 (06-Jun-2003) - This script transmits Images from a SourceDB to a TargetDB, preserving all Category-Assignments and Property-Entries. (And, *g*, if Mario would give us an updated Timestamp for the DatabaseImageRecords, we could merge Databases by checking which Entry is newer. Think about mobile IMatch.)

Remove Empty Categories from Database V 1.0 (30-May-2003) - This script removes all 'empty'-Categories from the active Database.

OffLineCache Garbage Collector V 1.0 (28-Jun-2003) - This script checks all existing Images in OfflineCacheFolder of the active Database and deletes ownerless OLC-Images. Additionally you can select some Categories from which you want delete the Images OfflineCache-pendants.

 

Image-Manipulation:

Photoshop Conversion (PS 5.5 + 6) V 0.9 (02-Jul-2003) - This Script combines the ManagementPower of IMatch with the ImageManipulationPower of Adobes Photoshop 6.0 in an easy to use way. This Script I have written together with Klaus Schwarzburg. Many thanks for your help, Klaus.

lcms Webgallery Creator V 0.1 (05-Oct-2002) - This script enhance the original Webgallery-Creator-Script with an ICC-Conversion-feature.

little Batch Converter V 1.2 (26-Jun-2003) - This script create resized copies, optionally with ICC-Conversion for Tiff- and Jpeg-sources. Can work with OfflineCacheImages instead of originals and can transmit all Property-, Category- and IPTC-data to the copies.

 

Libs

Registry Functions V 1.0 (01-Nov-2002) - A littleHelper-Script to put and retrieve Data to/from Registry in its correct DataTypes. VB usually provides only the StringType. With this Lib you can store every DataType to Registry (Byte, Integer, Long, Double, Decimal, Boolean, Variant, ...).

Debug Messages V 1.0 (08-Nov-2002) - A littleHelper-Script which handles Debugoutput in Priorityclasses. With this you can have good Informationoutput when you develope a Script and a less or no Output when run the Script in Productivity-Mode. Your DebugmessagePoints can stay in code without any (auswirkung). Usefull for future changes on your code.

 

 


Remove-Empty-Categories-from-Database

This Script removes all 'empty'-Categories from the active Database.

This Script is a modification of Peter Meinhardts Script "Mei_RemoveEmptyFoldersFromDatabase.bas"


Explanation
MainScript: hn_RemoveEmptyCategoriesFromDatabase.bas
Needed Modules: [hnFncRegKey.lib]



How to use this Script:

1) Unzip the archive

2) Copy all files and folders to your IMatch Scriptfolder

3) Keep the FolderStructure:
   - the main Script (*.bas + *.bai) must be in "\hn273_Public\"
   - the main Script (*.bas + *.bai) must be in "\hn273_Public\"
   - all *.bmp must be in Subfolder "\hn273_Public\icons\"
   - all *.cls and *.lib must be in Subfolder "\hn273_Public\lib\"

4) Filelist:
   - hn_RemoveEmptyCategoriesFromDatabase.bas
   - hn_RemoveEmptyCategoriesFromDatabase.bai
   - icons\removecatslogo.bmp
   - lib\hnFncRegKey.lib

 


Explanation

When you start the script you see a Dialog which lets you choose a Filename for a Logfile. Also you can open a Dialog with the CategoriesList of the active Database. Here you can select Categories which should not be touched by the Script, even when they matches the first three properties.

This Script removes all Categories where _all_ of the following Properties are True:

- 1) Cat is Imageless
- 2) Cat has no FormulaExpressions
- 3) Cat has no Child-Categories with Images or FormulaExpressions
- 4) Cat is not a Cat or a ChildCat from the ExclusionList


Screenshots

MainDialog

 

ExclusionList