Quantcast
Channel: Adobe Community : Popular Discussions - InDesign Server Developers
Viewing all articles
Browse latest Browse all 20709

Problems with Anchored object when package

$
0
0

I have problems with anchored objects when creating a package with indesign server, i have include a single script that targets to different files, one with an anchor in it and a second with no anchor.

 

Rem HelloWorld.vbs
Set app= CreateObject("InDesignServer.Application.CS3")
app.PublishTerminology 4.0
app.ScriptPreferences.Version = 4.0
Rem Create a new document.
Set myDocument = app.Open("c:\indesigntst\Anchored_Test.indd")
Rem Package
If Not myDocument.Package("c:\indesigntst\Anchored_Test\", False, False, False, False, False, False, False) then
MsgBox app.errorListErrors.Count
end if
app.Documents.Item(1).Close

Set myDocument = app.Open("c:\indesigntst\HelloWorld.indd")
Rem Package
If Not myDocument.Package("c:\indesigntst\HelloWorld\", False, False, False, False, False, False, False) then
MsgBox app.errorListErrors.Count
end if
myDocument.Save "c:\indesigntst\ts.indd"
app.Documents.Item(1).Close

 

I don't see any error or alike, and package returns true, but no folder is created.

 

Packaing of the same document works fine on desktop edition off indesign...

Any ideas?


Viewing all articles
Browse latest Browse all 20709

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>