Author Topic: Writeback Metadata and Refresh Data Driven Categories  (Read 2248 times)

JohnZeman

  • Global Moderator
  • *****
  • Posts: 1463
  • I'm too damn old to act my age.
Writeback Metadata and Refresh Data Driven Categories
« 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]
« Last Edit: January 03, 2016, 12:55:51 AM by JohnZeman »

DavidOfMA

  • Sr. Member
  • **
  • Posts: 253
  • Writer/Photographer/Therapist
Re: Writeback Metadata and Refresh Data Driven Categories
« Reply #1 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

JohnZeman

  • Global Moderator
  • *****
  • Posts: 1463
  • I'm too damn old to act my age.
Re: Writeback Metadata and Refresh Data Driven Categories
« Reply #2 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.