How to create a sheet from a list of list by Applescript?

tell application id "DNtp"
	set theCells to ¬
		{{"Content11", "Content12", "Content13", "Content14"}, ¬
			{"Content21", "Content22", "Content23", "Content24"}}
	set theColumns to {"name1", "name2", "name3", "name4"}
	create record with {name:"Sheet", type:sheet, cells:theCells, columns:theColumns} in current group
end tell
1 Like