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.

 

 


Multi Database Transmission

This Script transmits Images from a SourceDB to a TargetDB.


Explanation
MainScript: hn_MultiDBTransmission.bas
Needed Modules: [hnClsRegKey.cls] [hnClsTransmission.cls] [hnFncUtils.lib] [hnPublicDeclarations.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_MultiDBTransmission.bas
   - hn_MultiDBTransmission.bai
   - icons\multidblogo.bmp
   - lib\hnClsRegKey.cls
   - lib\hnClsTransmission.cls
   - lib\hnFncUtils.lib
   - lib\hnPublicDeclarations.lib

 


Explanation

This Script transmit all Images or only the active Selection from a SourceDB to a TargetDB, preserving all Category-Assignments and all Property-Entries.

You need to open at least two (or more) Databases.

You have to select a SourceDB and a TargetDB.

Your selected DBs will compared.

The TargetDB must have all Categories and all Properties of the SourceDB.
The TargetDB can have more Cats or Props, but all which are in the SourceDB must be also available in the TargetDB.

If you have more Categories in your SourceDB, you can easily use the IMatch Import/Export Dialog to export your Category Definitions to a file and import it in second step in your TargetDB. This works multi-times faster then to update the TargetCategories by scripting.

If you have a valid TargetDB you can select:
- the Images-Scope, (only current Selection or all Images of DB);
- if you want transmit the Category-Assignments;
- if you want transmit the Property-Entries;
- if you want overwrite (or not) Image-Entries which are already exist in TargetDB;

 


Screenshots


Select SourceDB and TargetDB

 


Compare Category Definitions and Property Sets

 


Select Options for Transmission

 


check for OfflineImages

 


has found OfflineImages, ask what to do

 


Add Images to TargetDB

 


Transmit Category-Assignments and Property-Data

 


Summary