在 MacOS Ventura 操作系统中,默认情况下,小数分隔符是逗号(,)。但是,如果你希望将小数分隔符更改为点(.),你可以通过编写一段简单的代码来实现。下面是一种可能的方法:
步骤 1: 创建一个 AppleScript 文件
首先,打开任何文本编辑器,创建一个新的 AppleScript 文件。
步骤 2: 编写 AppleScript 代码
在新创建的 AppleScript 文件中,输入以下代码:
property decimalSeparator : "."
on run
tell application "System Events"
set currentHost to name of local host
end tell
if currentHost contains "Ventura" then
tell application "System Preferences"
activate
reveal anchor "Language_Region" of pane id "com.apple.preference.language"
end tell