Illustrator CS 3 'open' command sometimes throws error 8700
Illustrator CS 3 'open' command sometimes throws error 8700
- Subject: Illustrator CS 3 'open' command sometimes throws error 8700
- From: Hamish Sanderson <email@hidden>
- Date: Thu, 24 Sep 2009 13:51:43 +0100
Hi all,
Writing an Illustrator CS 3 script which opens an .ai file off a
previously mounted AFP share to do some processing on it. Bog-standard
stuff:
tell app "Adobe Illustrator"
set user interaction level to never interact
open alias "path:to:file.ai" without dialogs
...
end
Most times this works without problem, but sometimes the file doesn't
appear in AI and it raises an error 8700 ('the operation was
cancelled') instead. If I re-run the same command myself, it works the
second time around.
Anyone have any ideas what might be causing this? AI's error message
is not exactly helpful. (AI 13.0.2, OS X 10.5.7 Intel)
Thanks,
Hamish
p.s. Don't suppose anyone knows if there's a publicly available list
of all AI error codes for reference?
--
Hamish Sanderson
Production Workflow Developer
Sun Branding Solutions Ltd
Tel: +44(0)1274 200 700
www.s-brandingsolutions.com
_______________________________________________
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