Photo Supreme tips, tricks and scripts...


-A [data files folder] Use it to store application data in a custom defined folder instead of the Windows standard folder (%localappdata%).
e.g.: -A "D:\My IDimager\PSU-appdata"

-regfile [registry file] By using this option, PSU will not store any data in the registry; instead the data will be stored at the location you have defined.
e.g.: -regfile "D:\My IDimager\mydata.idreg"

-L [Language] With this parameter you can switch the GUI Language.
e.g.: -L NL  valid parameters are NL, EN, DE, FR


To import metadata from your image to xmp you can use PSU for a single file.
If you want to do that for more then one file you need to use a script. You can find it here.

This is now build in into PSU  V2



Software Tag: When you use %exif:Software (e.g. for a custom thumb info) to identify what Software has been used to edit the image, then you may not want PSU to update this property.
Don't update: WriteToRegistry ('', 'UpdateSoftwareTag', 0)   Update:  WriteToRegistry ('', 'UpdateSoftwareTag', 1)


Image Counter: Sometimes the image counter may slow you down. With a little script you can switch it
off: WriteToRegistry('', 'ShowCatCounters', 0); and on again: WriteToRegistry('', 'ShowCatCounters', 1);
You need to restart PSU to take effect after running that little script!

FileName in Title: A way to say whether PSU should place the filename in the Title or not would be WriteToRegistry('', 'AllowFileNameAsTitle', 0);  The value 0 will leave the title empty while the value 1 will set PSU back to the default behavior (writing the file name into the title field)

Lap Columns: To change the number of columns in the Label assignment panel you can use this script:
WriteToRegistry('LAP', 'Columns', 3) This would give you 3 columns


Synchronous Mode: This setting allows you to change the synchronous mode used by PSU to increase database security. But using the synchronous mode 2 will have an impact at the overall performance of PSU!
WriteToRegistry ('', 'Synchronous', 2); to switch switch back to default WriteToRegistry ('', 'Synchronous', -1);
More info about the synchronous mode can be found here:


Cascade Metadata: This setting will propagate the star rating and color label within a version set. A value of 0 will set it back to default
Options.CatalogMetaCascadeStyle := 1;
PublicBroadcast (nil, 'SaveOptions', nil);


SQLite scratch folder: This setting will move the SQLite scratch folder to somewhere else
WriteToRegistry('', 'SQLiteTempDir', 'c:\your folder here\');


Set preview quality: Use this script to change the quality setting  from the default value (95) to 90
This script will works on both SQLServer and SQLite versions:

Options.MediumQuality := 90;    // current application default = 95
PublicBroadcast(nil, 'SaveOptions', nil);
Say ('done');


If you use a converted IDimager Database you might need to run this little script:
Say ('done.');

The database will grow quite a bit especially when it has run on a converted IDimager V5 database.


When you need an indicator for images that are offline you can use this line:
%code result := iif(not WideFileExists(ImageItem.Filename), 'O', ''); %/code

When you need an indicator for images that are write protected you can use this line:
%code result := iif(WideFileIsReadOnly(ImageItem.Filename), 'R', ''); %/code

You can find a more sophisticated script here.

When you need to call a script (e.g. to set the wallpaper point to the script: Set as Wallpaper.psc)
<a href="Filepath\SCRIPT.psc">Script</a>


Did you know that you can use Custom XMP created for IDimager V5 in PSU?
As a example I use the Darwin Core XMP Metadata Schema by Frank Bungartz.
Download and extract both files and copy them into the folder: %localappdata%\IDimager Systems, Inc.\EditorSchemas
Next time when you open PSU you can access the XMP schema in the image detail panel.




Custom Thumb Info:  This script is using the %exif:Software tag to identify the Software you used to edit the image and will display GPS when the image contains GPS coordinates. When the image is a RAW file it will display RAW, otherwise the file extension will be displayed.

          // add software ID
              if Pos('Capture', '%exif:Software') = 1 then
                result := result + '<FONT color="#888888 ">NX2</font>'
              else if Pos('Photoshop', '%exif:software') <> 0 then
                result := result + '<FONT color="#888888 ">CS4</font>'
              else if Pos('Bibble', '%exif:software') <> 0 then
                result := result + '<FONT color="#888888 ">BIB</font>'
              else if Pos('Ver.1', '%exif:software') = 1 then
                result := result + '<FONT color="#888888 ">CAM</font>'
              else if Pos('', '%exif:software') = 1 then
                result := result + '<FONT color="#888888">IDI</font>'
                result := result + '<FONT color="#888888 ">-?-</font> ';

          // add file type [RAW] or File extension
              if ImageItem.isRaw then
                result := result + '</font> <FONT color="#888888">' + WideUpperCase('%FileExtension') + '</font>'
                result := result + '</font> <FONT color="#888888">' + WideUpperCase('%FileExtension') + '</font>';
          // add GPS indicator
              if ImageItem.HasGPS then
                result := result + '<FONT color="3300FF">GPS</font>';



Copyright © 2013 Michael Weidner. All Rights Reserved