🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #247

Exporting the active document in IDML format

#247
From: Wolfgang Backes
Date: Tue, 01 Feb 2011 11:25
19 lines
1428 bytes
Hi all,

I'm trying to control InDesign CS4 from a VB6 program and I want to
export the whole document in IDML format.

The following commands...

MyInDesign.XMLExportPreferences.ExportFromSelected = False
MyInDesign.ActiveDocument.Export idExportFormat.idXML, MyFileName,
False

...result in an XML file that consists of just two lines:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Root></Root>

How can I export the whole document to a IDML package?

Any help appreciated,
Wolfgang 
Technical Details
Message-ID: <fbrfk6d550kcja8dtq889oq26cc60egmsr@4ax.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!goblin1!goblin.stu.neva.ru!news.astraweb.com!border5.a.newsrouter.astraweb.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,59b0bb264d8488d,start
X-Google-NewGroupId: yes
X-Google-Attributes: gida938ebf930,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!goblin1!goblin.stu.neva.ru!news.astraweb.com!border5.a.newsrouter.astraweb.com!not-for-mail
From: Wolfgang Backes <wopi_nopi@online.de>
Newsgroups: adobe.scripting.indesign
Subject: Exporting the active document in IDML format
Date: Tue, 01 Feb 2011 12:25:16 +0100
Message-ID: <fbrfk6d550kcja8dtq889oq26cc60egmsr@4ax.com>
X-Newsreader: Forte Agent 5.00/32.1171
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 19
Organization: Unlimited download news at news.astraweb.com
NNTP-Posting-Host: 457b614c.news.astraweb.com
X-Trace: DXC=DA>N04h>YN3\nWXJLoiYd:L?0kYOcDh@:AFeRkALIbW3g\;6GY7WfX8\7Hgb9D49o4`YHoA@ZNWB4VZAFWZDV^217H@a\hVINi4