Reload OpenMeta Tags

Summary: Replaces the EagleFiler tags for the selected files with the OpenMeta tags.
Requires: EagleFiler
Install Location: ~/Library/Scripts/Applications/EagleFiler/
Last Modified: 2019-10-02

Description

When importing a file, EagleFiler reads the tags from OpenMeta and sets the EagleFiler tags accordingly. Additionally, tag changes made in EagleFiler are written to OpenMeta (not necessarily immediately, unless you choose Backup Metadata). This script lets you propagate changes in the other direction, replacing the selected records’ tags with the OpenMeta tags that are stored in the files’ extended attributes.

(Warning: There are various ways that OpenMeta tags can be inadvertently deleted. If this has happened, running this script will remove the tags in EagleFiler.)

Installation Instructions · Download in Compiled Format · Download in Text Format

Script

on run
    
tell application "EagleFiler"
        
set _selection to selected records of browser window 1
        
repeat with _record in _selection
            
tell _record to load OpenMeta tags
        
end repeat
    
end tell
end run