3 Replies Latest reply on Jun 30, 2011 11:05 AM by John Hawkinson

    [js][cs4] Can't Place File

    dkhicks7 Level 1

      Please help! I'm trying to place an image in a frame using data from a table. I've done this successfully in the past, but right now javascript/indesign is behaving very strangely. Heres part of the code:

       


      myAllPageItems[3].place(File(a[5]+a[4]))
      where a[5] and a[4] are the image file path and name respectively.

       

      This is the error I get. I have no idea what this file is (or isn't) or where it came from.

      The file /Applications/Adobe InDesign CS4/Scripts/XHTML For Digital Editions/tmp00000001 was not found

       

      Thanks.