Get File Metadata

Overview

Return file metadata that you would normally see on the Detail tab of the properties for a file

Key Features & Functionality

Function

  • Usage: getfilemetadata(<document>)
  • Returns: file metadata in JSON format - use index() to return values of keys that contain spaces

Example

index(index( a!fromJson(getFileMetadata(<document>)), "MP4 Video", "" ), "Frame Rate", "" )

Supported file types: JPEG, TIFF, WebP, WAV, AVI, PSD, PNG, BMP, GIF, ICO, PCX, QuickTime, MP4, Camera Raw, NEF (Nikon), CR2 (Canon), ORF (Olympus), ARW (Sony), RW2 (Panasonic), RWL (Leica), SRW (Samsung)

Anonymous