HI - Has anyone on this list used Mac::Glue, specifically to script Adobe Illustrator? I have been trying and trying to get it to work, alas, no joy.
Simple things (start Illustrator, activate, quit, etc) work, but as soon as I start using parameters I run into a brick wall. This script to open an existing .ai file: #!/usr/bin/perl use strict; use warnings FATAL => "all"; use Mac::Glue qw( :all ); my $ill = Mac::Glue::->new( "Adobe Illustrator" ) or die "cannot get Illustrator: $^E\n"; my $file = "video-test.ai"; $ill->open( $file, ERRORS => 1 ); yields: rocky:test beau$ perl hello.pl Adobe Illustrator->open(DOBJ, video-test) event failed: errAECoercionFail (-1700) bad parameter data or unable to coerce the data supplied I installed Mac::Glue 1.30 against perl 5.10 using macports, I followed the instructions to make the Illustrator "glue" and made the scripting addition glues. Any hints would be appreciated. Aloha => Beau; -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/