[workflow]モバイルコンフィグを開くOpenMobileconfig
OS13版
on run {input}
tell application "System Settings" to launch
--システム環境設定が開くのを待つ
repeat
set doLaunchApp to get running of application "System Settings"
if doLaunchApp is false then
delay 0.5
else
exit repeat
end if
end repeat
set strCommandText to "open -b com.apple.systempreferences \"/System/Library/PreferencePanes/Profiles.prefPane\"" as text
do shell script strCommandText
delay 5
tell application "Finder"
set strFilePath to POSIX path of input
set theCmdCom to ("open \"" & strFilePath & "\" | open \"x-apple.systempreferences:com.apple.preferences.configurationprofiles\"") as text
do shell script theCmdCom
end tell
end run
| 固定リンク
「Admin Mobileconfig」カテゴリの記事
- 【メモ】MDMでイマイチまだ理解が足りない部分(2025.01.11)
- [mobileconfig]言語設定の変更(非推奨)(2024.12.20)
- mobileconfigを使って言語設定を切り替える(2024.12.16)
- [The Unarchiver] mobileconfigの値を見直した(2024.12.06)
- [NSGlobalDomain_m]AppleLanguages(2024.11.27)
「Admin Device Management」カテゴリの記事
- デバイスUUIDの取得(2024.11.11)
- モデル名を取得する(2024.05.17)
- TB Default Item Identifiers(com.apple.finder.plist)(2023.12.22)
- [profiles] profiles コマンド書き出したバックアップを各ファイルに書き出す(2023.11.12)
- [profiles]現在のユーザー・プロファイル設定をバックアップ(2023.10.31)
「System Settings」カテゴリの記事
- [System Settings]システム設定収集v7(ユーザーインストールのパネルの取得に対応した)(2025.01.18)
- [System Settings]システム設定収集v6(表示言語英語でも収集できるようにした)(2025.01.18)
- EnableTilingByEdgeDrag to false (disable TilingByEdgeDrag)ウィンドウを画面端にドラッグすると実行されるタイル表示を無効化(2024.09.18)
- システム設定をオープンさせるスクリプトの作成補助v5 (macOS14.5でreveal anchorの位置がずれるのに対応)(2024.05.28)
- [システム設定] reveal anchorで開くと位置がずれる(macOS14.5)(2024.05.28)