なんだと!?FontBookがApplescript対象外だと? [AppleScript辞書はつくれるか?]
MacOS12の頃には動いていたFontBook用のスクリプトが、MacOS13で認識しない。
MacOS 12 |
tell application "Font Book" tell every typeface set displayNames to displayed name set postScriptNames to PostScript name set styleNames to style name set enableds to enabled end tell end tell |
と使えていたはずなのだが、
MacOS 13 |
tell application "Font Book" tell every «class fbfc» set displayNames to displayed name set postScriptNames to «class fbps» set styleNames to «class fbsn» set enableds to «class fben» end tell end tell |
コードが扱いづらい形式に変化した上、実行不可能に。
スクリプトの用語が変更されたのかと、用語説明を見にいくと...
Font Bookが使いたいわけではなく、Font Bookを介して、使えるフォント使えないフォントを見分けたいと思ってただけなのに。
方法がないわけではないんど面倒くさいことになりそう。
そろそろ他のアプリケーションもスクリプトに対応していなくなってるのかな?
コメント 0