Automator or Applescript [FontBook add to font collection]

Joined
Mar 19, 2018
Messages
1
Reaction score
0
Points
1
Is it possible to add the contents of a specific folder with fonts into a Font collection in FontBook via Automator or Applescript?
The fonts are in the root the level of the computer. See path below:
Macintosh HD/Fonts_1/Basic set

I see that Automator has an option to add fonts to a library but not into a collection. The steps I have are:
1-Run Applescript
tell application "Font Book"
activate
make new font collection with properties {name:"basic set"}
end tell
end run
2-Get Specified Finder items
3-Copy Finder Items
4-Validate Font Files


With AppleScript So far I'm able to create a new collection but how do you add fonts to a font collection?
tell application "Font Book"
make new font collection with properties {name:" basic set"}
set validate fonts before installing to true
set enabled to true
end tell
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top