It was definitely needed in Script: Colorize DEVONthink Icons (Color Code Magick). I even started a support ticket because the script did work in Script Debugger but failed for some record types when used via DEVONthink’s script menu. After starting the ticket I simply used a display dialog
to show what type was delivered, this way it was obvious that via the script menu the conversion to a string resulted in a raw syntax string. Since then I use both forms because it’s a lot easier to always check for both than debugging a script.
1 Like