7 Replies Latest reply on Jul 25, 2011 6:32 AM by j_k_o

    open a new File() by Script and set File Type to PDF fails...


      Dear all


      I'm creating a script to download pdf Files from a server and place them into an Indesign Document. Everything works fine except Indesign does not recocnize the file Type when attempting to place the pdf and throws an error that the downloaded PDF File can not be placed due to unknown Filter.


      This is because File type apparently is set to TEXT (Creator is CARO) event though I write the file with




      Any Idea how to


      - get Indesign set the FileType of a newly generated File to PDF




      - Change the File Type afterwards




      - tell Indesign what filter to use when placing this File?



      Thanks for your help


      BTW: Indesign CS5 (7.0.4), OS X 10.6.8