[Pythonmac-SIG] Help with using aete and Adobe Illustrator 9

Jack Jansen jack@oratrix.nl
Mon, 30 Oct 2000 11:03:24 +0100


> [...] Basically, I am
> able to tell Illustrator to open
> a file but none of the rest of the commands are being handled.
> >>> import macostools;
> >>> import Illustrator9
> >>> import macfs
> >>> sfss=macfs.FSSpec("HD:Desktop Folder:illustrator-1")
> >>> dfss=macfs.FSSpec("HD:Desktop Folder:ill-1.pdf")
> >>> iob=Illustrator9.Illustrator9(signature='ART5', start=1)
> >>> tgt=iob.open(sfss)
> >>> iob.save(sfss, _in=dfss, as='pdf')

My guess is that you should pass tgt as the direct object to the save call.
--
Jack Jansen             | ++++ stop the execution of Mumia Abu-Jamal ++++
Jack.Jansen@oratrix.com | ++++ if you agree copy these lines to your sig ++++
www.oratrix.nl/~jack    | see http://www.xs4all.nl/~tank/spg-l/sigaction.htm