(1)documentを作る.
(2)自動で生成されるtableを削除する document内のsheet内のtableを全て削除する.
(3)任意の行列数でtableを作る. 見出しの行と列を削除することを見越して,1 行,1列多めに作る.
(4)1行目,1列目削除
(5)任意の列幅,高さにする. なお,高さ,列幅の初期値はコード内にコメントした.
Set height and width of cells
tell application "Numbers" activate make document tell front document tell front sheet delete every table make table with properties {column count:16, row count:16} tell front table delete row 1 delete column "A" height of row 1 --initial value 18.5 pt width of column 1 --initial value 98.0 pt set height of every row to 36 set width of every column to 36 end tell end tell end tell end tell