3 Replies Latest reply on Feb 2, 2016 1:40 PM by CarlosCanto

    Cant change color space of document to CMYK

    andreasf Level 1

      Having read the Applescript referens for Adobe Illustrator CC 2015 and various threads I still cant figure out how/where to apply the command that converts any rgb files to cmyk


      Any ideas (script works excellent otherwise)


      set FileSample to theFile as string


      set MyFolderA to "/Users/AF/Desktop/" as string




      tell application "Adobe Illustrator"



        open (theFile as alias) without dialogs

        tell current document


        tell front document


        set newFileName to (MyFolderA & docBaseName & ".ai") as string



        end tell


        save front document in file newFileName as Illustrator

        close front document saving no

        end tell

      end tell