Yojimbo Tag List

Here is a little AppleScript that lists the tags you’ve used in Yojimbo. If you select some tags, it will copy them to the clipboard concatenated with commas.

-- get list of known tags
set _tags to {}
tell application "Yojimbo"
repeat with _tag in tags
set end of _tags to name of _tag
end repeat
end tell
-- show list to user
set _choice to choose from list _tags with title "Yojimbo Tags" with prompt "Select tags:" with multiple selections allowed without empty selection allowed
if _choice is equal to false then return
-- concatenate and copy chosen tags
set _dtid to text item delimiters
set text item delimiters to {","}
set the clipboard to ("" & _choice)
set text item delimiters to _dtid

You can copy and paste the above code into a new Script Editor document, or you can download the script directly: