Feb 12
Convert Numbers sheets into Keynote slides via AppleScript
Cats: News|
I wrote an AppleScript to copy all the tables and data from a Numbers document into a Keynote document. Each sheet becomes on slide on Keynote. Here's the code:
tell application "Keynote"
activate
make new slideshow -- create a slide show
set newSlideShow to slideshow 1 -- keep a reference
end tell
tell application "Numbers"
activate
tell document 1
set nombreFeuilles to the count of sheets
end tell
end tell
--display dialog nombreFeuilles
repeat with i from 1 to nombreFeuilles
tell application "Numbers"
activate
tell table 1 of sheet i of document 1 to activate
tell application "System Events" to keystroke "a" using {command down}
tell application "System Events" to keystroke "c" us...
Leave a Reply
You must be logged in to post a comment.
Subscribe
