Saturday, December 3, 2022

#1 2022-09-24 11:33:55 am

4CardsMan
Member
Registered: 2020-12-29
Posts: 14

Passing list to Keynote

Applescript:

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

Offline

 

#2 2022-09-24 11:48:00 am

Mockman
Member
From:: Toronto
Registered: 2020-05-27
Posts: 267

Re: Passing list to Keynote

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

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ā€¦]

Offline

 

Board footer

Powered by FluxBB

RSS (new topics) RSS (active topics)