Skip to main content
Known Participant
September 2, 2010
Question

Exporting JPEG. No file output.

  • September 2, 2010
  • 1 reply
  • 335 views

I'm trying to export a jpeg image of my current *.indd file using the following command:

app.activeDocument.exportFile(1246775072, new File('\c\export.jpg'));

However, after executing the script, the 'c' folder is empty (I'm on OSX).

How can I fix this?

This topic has been closed for replies.

1 reply

BarqxAuthor
Known Participant
September 2, 2010

Mixed up the slashes. Fixed.