[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] mac perl, apple scripts



At 14:23 96-05-06, eric m. mosher wrote:

>i get the following error.
>can't find string terminator "convert" anywhere before EOF
>
>script looks like so...
>
>&MacPerl'DoAppleScript(<<convert);
...
>convert
>
>has this been expained in the past??

Yep.  More than likely one of the two following conditions is your problem:
1) there isn't a carriage return after the final convert, or
2) there is a bunch of white space after the final convert

To put it in Perl terms, the line that terminates the string must be
exactly the line that would be produced by the perl code:
    print "convert\n";

--Hal
Hal Wine <hal@dtor.com>     voice: 510/482-0597