title: Applescript to open and save an Indesign Document not working
body: <p>I'm currently playing around with creating an applescript droplet that will in the end allow me to drop multiple files to be opened and then saved. This is all I need to do as this updates the old indesign files to CS5 (we have a lot of them).</p>
  
  <p>I'm able to create a droplet that opens multiple indesign files, but im having trouble with them being saved. Here is the script so far:</p>
  
  <pre><code>on open these
      tell application "Adobe InDesign CS5"
          open these
      end tell
  end open
  tell application "Adobe InDesign CS5"
   save these
  end tell
  </code></pre>
  
  <p>At the moment its not executing the "save these" command. Seems like it would be straightforward enough but i'm findin it hard to get information how to tell indesign to save these opened documents that i've dropped in the droplet. I'm probably not using the right "selector" (if I can use that term). So i would like the script to "select" the open documents and these "selected" documents then need to be saved (a simple save command rather than a save as).</p>
  
  <p>And ideally i would like for the script to open the first document and saving it before moving on to the second document and so forth. But that is secondary.</p>
  
  <p>I've also tried this script:</p>
  
  <pre><code>on open these
      tell application "Adobe InDesign CS5"
          open these
      end tell
  end open
  tell these
      save
  end tell
  </code></pre>
  
  <p>Same result here as well. I'm a bit of a beginner on this so I might've overlooked something very basic. Any help would be much appreciated!</p>
  
  <p>Thank you.</p>
  
  <p>Edit: Typo in the title, whoops!</p>