InDesign Error -1728?
InDesign Error -1728?
- Subject: InDesign Error -1728?
- From: Chris Nitz <email@hidden>
- Date: Tue, 27 Jan 2004 16:17:57 -0800 (PST)
I have some InTags files. They have been saved as
Unicode (Big Endian), with the header starting as
"<UNICODE-MAC>" and they import just fine when I do it
"manually".
But, when I try to use AppleScript to import the file,
I get an error "-1728" with the message "InDesign
2.0.2 got an error: can't get [file specification]".
The exact same subroutine works fine, using some other
Unicode files I saved using an AppleScript that I
wrote.
----
set theTaggedTextFile to "OS 9:InBox:Star Wars
typesetting:PHM:0001.txt"
TagsInRectangle(theTaggedTextFile as string, "EPS
name", 1) of me
on TagsInRectangle(theTextFile, theRectangle, thePage)
try
tell application "InDesign 2.0.2"
activate
tell document 1
tell page thePage
tell text frame theRectangle
place (theTextFile) showing options no retaining
formatting yes converting quotes no
end tell
end tell
end tell
end tell
on error error_message number error_number
activate
display dialog "Error number: " & error_number &
return & error_message giving up after 60
end try
end TagsInRectangle
----
This seems, to me, that there's a problem with how the
file was saved.
But I don't know what's REALLY wrong.
Where should I start looking to fix this "error
-1728"?
-nitz
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.