Harmony Script

Remove Unused Colors

RemoveUnusedColors

Remove unused color swatches on scene palettes. The script will also remove empty palettes.
This script is compatible with Harmony Premium 15 and up.
Remove Unused Colors is developped by three contributers: Liza D, Mathieu C, Yu U

  • v1.01 – The new version can remove unused scene palettes without opening the “Remove Unused Palettes From Scene List” dialog.
  • v1.02 – The script removes the unused palettes from disc.
  • v1.03 – “drawing.elementMode” attribute is changed to “drawing.ELEMENT_MODE” to accomodate Harmony 22 update.

Download


Installation:

  1. Click on the Download button above. The GitHub page for this script will open.
  2. On the page, click on the Code button then choose Download Zip from the menu.
  3. Locate to your user scripts folder (a hidden folder).
  4. There is a folder named src inside the zip file. Copy all its contents directly to the folder above.
  5. In Harmony, add one or both of the following functions to any toolbar:
    • PAL_Remove_All_Unused_Colors_And_Palettes
    • PAL_Remove_Unused_Colors_On_Selected_Palette

Direction ( PAL_Remove_All_Unused_Colors_And_Palettes ):

  1. On Remove Unused Palettes From Scene Palette List dialog.
  2. Hit Select All and then okay, This will remove all empty crossed-out palettes.

Direction ( PAL_Remove_Unused_Colors_On_Selected_Palette ):

  1. Select a palette to remove unused colors from.
  2. Run the script. Palettes will be removed when it becomes empty.

Leave a comment

Copyright © 2024 Yu Ueda All Rights Reserved.