2 Replies Latest reply on Feb 15, 2008 12:35 AM by Loic.Aigon

    [AS] Can't open multiple indd files of a chosen folder

    Loic.Aigon Adobe Community Professional
      I just can't get the opening of a bunch of indesign files inside a chosen folder with AS.
      I write this :

      --Prompt the user for a folder to be picked including indd files
      b originfolder
      to (choose folder with prompt "Choisissez le dossier contenant les fichiers Indesign")

      --Try to open all the indd files included in the
      tell application "Adobe InDesign CS3" to open every file whose extension ends with ".indd" of folder
      b finalfolder

      end tell

      I am going nuts failing. I heard about a "creating list of files" way but when I try it, error says that it can't convert the files to a string.

      Hope someone can help. Thanks in advance.