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?