Re: OS9 vintage script-error reading txt file using InDesign 2.0
Re: OS9 vintage script-error reading txt file using InDesign 2.0
- Subject: Re: OS9 vintage script-error reading txt file using InDesign 2.0
- From: kai <email@hidden>
- Date: Thu, 15 Mar 2007 20:13:31 +0000
On 15 Mar 2007, at 18:07, Dan Doughtie wrote:
Skipping down memory lane here. I'm trying to help a customer
using OS 9
and a InDesign 2.02 Script that is getting a "InDesign 2.0 got an
error:
Can't get "Macintosh HD: Blah:Blah:XS019" -1728. The text file
"XS019" is
there and could be corrupt. I assume the error is from InDesign,
none of
the apple docs list a -1728. But I can't find an InDesign list of
errors to
compare against.
This script apparently uses a formatted InDesign template to flow
in several
prenamed text files. Anyone know what that error means. I haven't
been able
to down the script to really look at it but thought if I can figure
out the
error it will probably indicate that I need to fix the text file.
InDesign may be reporting the error, Dan, but an error number -1728
[errAENoSuchObject] actually denotes an Apple event manager error
message. Basically, it indicates that the specified object is beyond
the available range. In other words, it doesn't exist.
The first thing I'd do is double-check that the entire path
("Macintosh HD: Blah:Blah:XS019") is correct. To get an accurate
path, try copying the result returned by the following (which should
work in OS 9) and paste it into the script.
-----------------
(choose file) as Unicode text
-----------------
If that doesn't work, you might check that InDesign is expecting/will
accept a text path for the job in question.
---
kai
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden