Indesign Export

Hi All,

I hoping someone can help with this, I’ve been playing around with new scripts for CS5, but I’m struggling with the export format for indesign.

I’ve had a look in the script dictionary, and it says it should understand the RTF format, but when I complile the script, it doesn’t, can anyone help?

Cheers

Anyone??

Perhaps you could show us your code? Without it, it’s a bit like walking up to a mechanic and saying “Excuse me? There’s something wrong with my car. What’s wrong with it?”

:slight_smile:

It probably would have helped!
Bear with me, I’m a bit new to this.

I hope the code is right so I don’t look completely stupid

tell application "Adobe InDesign CS5"
	--setting variables
	set path_to_processing to ((path to desktop) & "processing:") as string
	set filename to name of active document
	export document 1 format RTF to path_to_processing & filename & ".rtf"
end tell

All I get at the end when I compile this is

:expressionless:

My initial question is, what use is an Indesign document exported as an RTF?

Are you trying to export the text inside a text frame as text for use in another document?

Looking at Indesign… By default, RTF is not an option. It is only when you have text selected that the option to export in RTF is allowed. Knowing this, I think you need to target the content of a text frame instead of the document as a whole.

*I can read Applescript, but I am not adept at speaking it… so someone else will have to jump in on how to lure the text from its frame. I tried using bits of steak, but its being quite stubborn.

that’s probably where this is all coming unstuck then.

I just want to export the whole file to an rtf file for web conversion. Exporting directly to dreamweaver from indesign isn’t an option either.

Thanks for your help, I’ll start to explore other options now