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

Re: [MacPerl] MacPerl and RealBasic



On Fri, 8 Dec 2000 16:59:03 -0600, Jeff Lowrey 
<jeff@firepower.jaral.org> wrote:

>  At 9:23 PM +0100 12/8/00, apeiros wrote:
>>Chris Nandor wrote:
>>>    You can also drive any OSAX or scriptable application with
>>>   MacPerl.
>>
>>How? And which one was useful?
>
>  In the same way that you can run AppleScript.
>
>  You might find DialogDirector covers most of your needs.
>
>>   > I'd ask the RealBasic people.
>>
>>Do you know a good forum or mailinglist?
>
>  I don't know of one personally, and I'd stick with Chris' answer here
>  too - ask the RealBasic people.

List-Subscribe: <mailto:realbasic-nug-on@lists.realsoftware.com>
It's pretty high volume, i.e. several digests like the MacPerl digests a day.

>  You should be able to do what you want with RealBasic.  I can think
>  of a few ways:
>  1) Create a RealBasic frontend that is scriptable, and use
>  AppleScript from perl to talk to it.
>  2) Create a perl script that is scriptable, and use AppleScript from
>  RealBasic to talk to it.
>  3) Use AppleScript to send perl scripts from RealBasic to MacPerl.
>  ("inline" perl, as it were).

The last one is what I have done in one case, a couple of years ago.
I saved Perl scripts (or script snippets) in text resources and sent 
them via AE depending on the user's selection in the GUI. For string 
handling with large files - even with the AE overhead - this is a lot 
faster than plain RB code or code involving memoryblocks with help of 
third party plugins.
You can build very sophisticated GUI frontends for MacPerl with this mechanism.

__Peter Hartmann ________

mailto:hphartmann@justmail.de

# ===== Want to unsubscribe from this list?
# ===== Send mail with body "unsubscribe" to macperl-request@macperl.org