The script looks pretty simple and straightforward, right? Well, AppleScript is a language that is easy to read, but very, very difficult to write. You will be prompted for a destination folder, then the script will do its thing. Then, to convert files, just select them in the Finder and drag them onto the application icon. On open droppedFiles set theDestinationFolder to ( choose folder with prompt "Choose destination folder" ) as Unicode text repeat with theFile in droppedFiles tell application "Keynote" open theFile set theSlideshow to slideshow 1 set theDestinationPath to theDestinationFolder & ( name of theSlideshow ) save theSlideshow in theDestinationPath close theSlideshow end tell end repeat end openĬlick the Compile button, and assuming you see no errors, choose File -> Save, set the File Format to Application, and save it to the desired place with the desired name. So, if you have need for a utility for converting a bunch of PowerPoint files to Keynote, open up the AppleScript Editor and copy and paste this script into the window: But I did succeed (if two hours spent futzing with AppleScript can possibly be called a success). So, I took the plunge into AppleScript.Īs with every foray I make into AppleScriptLand, I was frustrated, annoyed, saddened, and exhausted by the experience. However, I am a programmer, so I would rather spend a few hours figuring out how to write a program to do a repetitive task than simply spend the five minutes needed to do it by hand.Īt first I tried using Apple's Automator utility, which is supposed to make stuff like this easy, but I couldn't figure it out. > Keynote from the menu (which reads the PowerPoint file into Keynote), then File -> Save As. This is pretty easy to do manually on a Mac: Just right-click the PPT file, select Open With. I want to review these on my iPad, so I needed to convert them to Keynote. The instructor in one of my MBA-prerequisite classes distributed a set of PowerPoint presentations as course notes.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |