Thank you for the example. I’m sorry if I wasn’t clear. I just want to highlight groups in the sidebar with more than the 8 colors I can define in settings, and I also want to assign the colors via applescript. I am using the colors to organize the types of groups in the sidebar. Is it possible to set the label of the new group to the color you defined (via set label), or are labels always confined to the 8 colors defined in settings? Thanks
No worries!
You can set the label color of an item via AppleScript. However, color labels are only defined in DEVONthink’s settings and they are limited to seven colors.
I’m trying to use these color definitions to set the color of a smartgroup and I don’t seem to get any response. I can set the color of a group or grouptag. Is it possible to set the color of a smartgroup using ‘set color’?
A little more research seems to indicate that it is not possible to set the color property of a smart group and have it reflected in the UI. The only way to distinguish smart groups by color seems to be with the label property, which is limited to 7 colors. Please correct me if I’m wrong, but if this is correct, then I just want to add a feature request to allow for more label colors (or to implement the color property for smart groups).
Please let me know if there is some other way to visually distinguish smart groups in the UI beyond the 7 label colors.
@samrose Maybe that’s the closest to what you want. I have “eliminated” the icon and the blue things before and after the name look a bit like a label … a bit
You have found out correctly: You can’t change the color of smart groups, but yes you can apply a color label.
The request to increase label colors has been made over the years. It’s noted but I’d imagine it’s unlikely to happen.
Please let me know if there is some other way to visually distinguish smart groups in the UI beyond the 7 label colors.
Like this…?
Yes, is there a way to color the smart group icon, the way you have made it green?
It is just a custom thumbnail.
Colored Smart Group Icons.zip (23.3 KB)
With this group open in DEVONthink, select a smart group, open the Generic info inspector, and drag and drop a custom icon onto the thumbnail.
Thank you! Is there a way to assign the colored thumbnails to a smart group that is created within an applescript?
If you create your smart groups with a script, you will at one point create a record of type smart group
. Its thumbnail
property would be the first for me to play with.