Re: Does anyone have experience with scripting Adobe Illustrator 9.0 and 9.02
Re: Does anyone have experience with scripting Adobe Illustrator 9.0 and 9.02
- Subject: Re: Does anyone have experience with scripting Adobe Illustrator 9.0 and 9.02
- From: Shane Stanley <email@hidden>
- Date: Tue, 25 Sep 2001 17:37:44 +1000
On 25/9/01 4:13 PM +1000, Mak, Maxwell, email@hidden, wrote:
>
I have started a project on automating file conversion using Mac OS 9.2.1
>
and Adobe Illustrator 9.0.2. The problem I now have is to simply get
>
Illustrator to close the current document. The following is the code that I
>
used. The commented lines have also been used but the same error shown.
>
>
set theFile to (choose file)
>
tell application "Adobe Illustrator. 9.0.2"
>
open theFile
>
close document 1 saving no
>
-- close theFile saving no
>
-- close current document saving no
>
end tell
>
>
The error message that I got from running the script is as follows:
>
>
<<...OLE_Obj...>>
It works here for me. Are you sure the plug-in is installed in the correct
place? Do other scripts work with it? Have you tried it with a simple
document? With a complicated document, the open command could be timing out.
--
Shane Stanley, email@hidden