Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I have a large set of Powerpoint presentations that I would like to convert to Keynote. I can convert each one manually by following these steps:

  1. In Finder, right-click Powerpoint document and select Open With... -> Keynote
  2. In Keynote, choose Save As..., check the Save copy as checkbox, select iWork '08 as the format, and click OK.

However, doing this for each document is tedious. I'd like a way to convert them all at once.

I've been trying to create an Automator workflow for this, but have been completely unsuccessful. (I think being a programmer actually makes it impossible to understand the for-the-rest-of-us tools like Automator and AppleScript.) Can anyone help me out?

share|improve this question
add comment

2 Answers

Did you try to create an Automator workflow using the feature Watch Me Do (which seems appropriate here) ? What problems did you encounter ?

share|improve this answer
    
I can record the UI events (Open With, Save As, etc.). The problem is that this gives me a workflow that only works for a single selected document in the Finder. I want to run it for a large set of documents. How would I do that with Watch Me Do? –  Kristopher Johnson Feb 18 '11 at 0:09
add comment
up vote 2 down vote accepted

I couldn't figure out how to get Automator to do it, but I was able to beat AppleScript into submission. Just save the following as an Application in the AppleScript Editor, then drag the files you want to convert onto the icon. It will prompt you to choose a folder where the converted files will be placed.

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

(I don't really know what I'm doing with AppleScript. If there are improvements that can be made here, I'd like to know about them.)

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.