I am trying to create a package script in VBS and I am getting mixed results :-
If I use this code:-
Set myInDesign = CreateObject("InDesign.Application")
set fso = CreateObject("Scripting.FileSystemObject")
myPackageFolder = "C:\test\"
set myDocument = myIndesign.ActiveDocument
myDocument.package myPackageFolder, false, true, false, true, true, true, false
Then Indesign Crashes
If I use this code (update graphics links is false instead of true):-
rem fso.CreateFolder mypath & "\package\"
rem myPackageFolder = mypath & "\package\"
myDocument.package myPackageFolder, false, true, false, false, true, true, false
Then I get a Warning :-
An attached script generated the following error.
Cannot save a copy of "1234567ab.indd"
do I want to disable the event handler (was triggered from after save event)
So is this because the file really isnt saved yet and is somehow locked .. so you cant update graphics or copy it???
Retrieving data ...