Passing list to Keynote

add chart type vertical_bar_2d row names rownames column names cols
			

. rownames and cols are variables which each store a list of values. When this runs, I get Keynote got an error: One or more of the following parameters was missing: row names, column names" number -1715

I think that command requires that you specify the slide first. Your script jumps straight to the type.

[format]add chart v : Add a chart to a slide

add chart slide : the slide to add the chart to
[row names list of text]
[column names list of text]
[data list of any]
[type pieā€¦][/format]