如何在JXA中设置范围/单元格的格式

时间:2019-05-07 14:24:16

标签: macos jxa iwork javascript-automation apple-numbers

如何像下面的applescript一样在JXA中设置范围格式?

tell application "Numbers"
    activate
    tell document 1
        tell active sheet
            tell table 1
                set the format of range "A2:B2" to currency
            end tell
        end tell
    end tell
end tell

我在JXA中找不到与枚举有关的文档。

0 个答案:

没有答案