photools.com Community

BOARD ARCHIVE => IMatch 5 Scripting and Apps => Script Gallery => Topic started by: JohnZeman on January 02, 2016, 10:03:35 PM

Title: Writeback Metadata and Refresh Data Driven Categories
Post by: JohnZeman on January 02, 2016, 10:03:35 PM
This simple script first writes back metadata to all pending files and after that it refreshes all data driven categories.

If there are no files that need writeback, the script ends without refreshing data driven categories.

[attachment deleted by admin]
Title: Re: Writeback Metadata and Refresh Data Driven Categories
Post by: DavidOfMA on January 03, 2016, 12:06:33 AM
Perfect! Only change I made is to have the script refresh the data-driven categories even if there are are no files with pending metadata.

Thanks!

David
Title: Re: Writeback Metadata and Refresh Data Driven Categories
Post by: JohnZeman on January 03, 2016, 12:58:49 AM
I just made a change to the script so no one else should have to modify it to do that.

Now if you run the script and there are no files needing metadata writeback, the dialog box will ask you if you want to still refresh the data driven categories.  If you choose no, the script ends.  If you choose yes, it refreshes the DD categories.