🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #20628

Re: Export all stories from all chapters of book? (Applescript)

#20628
From: Don Feldman
Date: Mon, 17 Jun 2002 14:37
21 lines
1577 bytes
I  just  got a new G4 with system 10 at work last week.  On my old G3 with system 9.2, I used this routine which I probably got from the forum here  to export text with tags. 

tell application "InDesign 2.0.1" 

	tell story 1 of document 1 

		export format "Adobe InDesign Tagged Text" to "Macintosh HD:test.txt" 

		-- OR  

		--export format tagged text to "Macintosh HD:test.txt2" 

	end tell 

end tell 

when I try using the same routine using the  code on either side of the --OR, I get a long list of someting like this with no text. 

<HyperlinkDestDefn:=<HyperlinkDestName:.10658><HyperlinkDestPage:34><HyperlinkDestPageZoomType:Fixed><HyperlinkDestPageZoomFactor:1.000000><Hidden:1>> 

Is there a different way system 10 which has applescript 1.7 deals with this code than system 9 which  I think had 1.6?
Technical Details
Message-ID: <ef8ed19.3@WebX.aaQKaf7vad4>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!supernews.com!newsfeed.wirehub.nl!newsfeed.media.kyoto-u.ac.jp!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <ef8ed19.-1@WebX.aaQKaf7vad4>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,4d2147f4ec8ee501
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2002-06-17 08:07:59 PST
From: "Don Feldman" <don_feldman@mcgraw-hill.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!supernews.com!newsfeed.wirehub.nl!newsfeed.media.kyoto-u.ac.jp!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: Re: Export all stories from all chapters of book? (Applescript)
Message-ID: <ef8ed19.3@WebX.aaQKaf7vad4>
Date: Mon, 17 Jun 2002 07:37:41 -0700
References: <ef8ed19.-1@WebX.aaQKaf7vad4>
Lines: 27
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit