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

Re: [MacPerl] OSA and MacPerl



Ben S Arnold,barnold@flash.net, writes:
> How does one go about setting up MacPerl for OSA?  For Frontier??  I'd like
> to be able to call MacPerl from within Frontier, as in something like
> MacPerl.doScript, but Frontier, as far as I can tell, didn't come with any
> MacPerl verbs, and neither did MacPerl (4.2, 5.1.3 respectively).  Also, my
> Apple script editor doesn't recognise MacPerlese (it only gives me
> AppleScript and UserLand and language options).

I used Frontier's "Commercial Devlopers" suite to create a MacPerl table in
Frontier: you can do this yourself by just selecting 'Commercial Devloper'
from the "Suites" menu/submenu, then starting the process by selecting "Enter
you app's name" fron the "Glue" menu that appears. This gave me a
MacPerl.doScript verb among other definitions, which I then use by passing
complete scripts to MacPerl as text strings, with the last line always being
"&MacPerl'Reply($_)" to return the scripts results to Frontier.

John
--
John Blackburne - programmer, writer, consultant, trainer
Perl, AS, QD3D and more at http://www.hk.super.net/~johnb