Article View: adobe.scripting.indesign
Article #19663[AS] Package problems across servers
From: Kim Kohen
Date: Fri, 29 Nov 2002 05:12
Date: Fri, 29 Nov 2002 05:12
38 lines
2259 bytes
2259 bytes
I have struck an unusual problem trying to create packages across file servers. I can create 'packages' perfectly on one file server but not to any others (we have 3 separate servers). I also have no problem creating them on the local machine.
Even stranger though, is that one server is formatted into 4 partitions and I can create packages on one partition but not the others. All have identical privs (and I'm logged in as admin anyway).
the script (trimmed of error trapping for brevity) is:
tell application "InDesign 2.0.1"
set mydoc to active document
set myname to name of mydoc
end tell
set mypath to "Torch:"
set thedest to mypath & myname & "�:" as text
-- if the folder doesn't exist, create it
tell application "Finder"
set myfolder to make new folder at alias mypath with properties {name:myname & "�"}
end tell
tell application "InDesign 2.0.1"
package mydoc to thedest with copying linked graphics and updating graphics without copying fonts
end tell
If I step through the script I can see that the folder gets created correctly but the actual packaging fails - but without generating an error (it always returns true even though the packaging failed and it cruises through an error trap).
I tried the same thing from another OSX machine with the same result - and an OS9 machine created the folder and the document file but no links.
I read in the archives of some issues regarding the package command but any assistance or suggestions would be greatly appreciated.
cheers
kim
Technical Details
Message-ID:
<1de6cd08.-1@WebX.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebXShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: f939a,ede6a6bbadcc61a1,start X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2002-11-28 21:37:29 PST From: "Kim Kohen" <kim@webguide.com.au> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: [AS] Package problems across servers Message-ID: <1de6cd08.-1@WebX.la2eafNXanI> Date: Thu, 28 Nov 2002 21:12:57 -0800 Lines: 47 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit