Resource

Resource Basics

Resource Name Write XMP Metadata
Resource Version 1.0
Category Custom Thumbnail Info
Downloads 871
Release Date 3/14/2018 11:41:53 AM
 

Resource Details

Description This custom thumb info will offer an option to write the XMP using the configured settings in the Preferences (same as using Ctrl+S/Cmd+S)
Installation Instructions 1. Store the script on the lcoal hard drive
2. Open the script in a text editor
3. Copy/Paste the content of the script to a custom thumb info line
Usage Instructions n.a.
Changes in this version n.a.
Special Requirements
 

Author Information

Author Name IDimager Support
 

Available Attachments

Attachment #1 WriteXMP.png
 

Script

<a href="code:
var
  AItem: TCatalogItem;
begin
  AItem := TCatalogItem.Create(nil);
  try
    if PublicCatalog.FindItemCombinedByGUID(ImageItem.GUID, AItem) then
    begin
      PublicCatalog.WriteItemToXMPAdvanced(AItem, PublicOptions.XMPSyncWriteSettings, True, PublicOptions.XMPSyncWriteSettings.StoreCached);
    end;
  finally
    AItem.Free
  end;
end;">write XMP</a>