Post

Replies

Boosts

Views

Activity

How to set the format of range in Numbers by JXA
How to set the format of range in JXA like the following AppleScript code?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 tellI can't find the documentation related to enumeration in JXA. The format property is enumeration. table.ranges["A2:B2"].format = "currency";This code will trigger error (invalid format value).
1
0
1.9k
May ’19