Create Keynote '09 slide from Numbers '09 selection
Jan 09, '09 07:30:02AM • Contributed by: robg
One of the new things in Numbers '09 is AppleScript support. As an example of what's possible -- and the kind of code you'll need to use to get the current sheet and selected cells -- AppleScript guru Sal Soghoian sent in the following example. This code takes the selected cells in a Numbers table and converts them into a bulleted slide in Keynote with the selected values.
To use this, save it out of Script Editor as a script to your user's Library » Scripts » Applications » Numbers folder -- you may have to create some of the folders at/below the Scripts folder. Then within Numbers, select the range you wish to move to Keynote, and then use the Scripts menu to select and run your new script.
While this worked, it dumped the body into the subtitle section of the default new slide in Keynote. Looking at the AppleScript dictionary for Keynote '09, it appears it should be possible to create a new slide with a given master, so that the pasted data would wind up in an actual bullet body section -- but I'll leave that as an exercise for the experts!