Skip to content

Instantly share code, notes, and snippets.

@danromero
Created January 20, 2017 23:17
Show Gist options
  • Save danromero/f42d6b8bac9ea5aa6931e3f40c596a2b to your computer and use it in GitHub Desktop.
Save danromero/f42d6b8bac9ea5aa6931e3f40c596a2b to your computer and use it in GitHub Desktop.
tell application "Keynote"
activate
set thisDocument to make new document with properties ¬
{height:764, width:1024, document theme:theme "White"}
tell thisDocument
tell slide 1
set the base slide to master slide "Title - Top" of thisDocument
set the object text of the default title item to "Revenue"
add chart row names {"ROW A"} column names {"COL A", "COL B", "COL C"} ¬
data {{45, 25, 30}} type vertical_bar_2d group by chart column
end tell
end tell
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment