Skip to main content
Known Participant
June 24, 2009
Question

[js][cs4] Can't Place File

  • June 24, 2009
  • 1 reply
  • 842 views

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.

This topic has been closed for replies.

1 reply

July 30, 2009

I see this occasionally too. Has anyone figured out why this happens on .place?

"The file C:\Documents and Settings\Default User\My Documents\tmp00000001 was not found"

Thanks.

Participating Frequently
June 29, 2011

I just encountered this as well.

My error message was "The file C:\Program Files\Adobe\Adobe InDesign CS5 Server x64\Scripts\Export As XHTML\tmp00000001 was not found"

I'm using CS5.

John Hawkinson
Inspiring
June 30, 2011

I wanted to say that using new File(str) worked better than File(str) ,but I think I suggested that last time someone had a similar problem and it did not work -- still I suggest you try it...