2018-12-18から1日間の記事一覧
道半ばやけどそろそろメモっとかな忘れる自信あり 1)shell scriptかAppleScriptか shell scriptのメリット:明示的に指定できる shell scriptのデメリット:デフォルトの設定からずれる、システム環境設定から遠のく AppleScriptのメリット:けっこう面倒…
方針転換して、AppleScriptでUIを叩くことにしてみた。 遠回りな気もするけど……。 tell application "System Preferences" activate end tell tell application "System Events" if UI elements enabled then tell process "System Preferences" tell item 1…