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

[MacPerl] FM <-> AS <-> MP



This is MPBR: the MacPerl-Beginner's Revolution  ;-)   working from Filemaker instead of BBEdit!

But unfortunately it works only half part. From Filemaker I send a MacPerl script (residing in a cell/field called "SCHRIWWEL") via FM script and AS to MP and have MP execute it:

  tell application "FileMaker Pro"
    copy cell "SCHRIWWEL" of current record to SKRIPT
  end tell

  tell application "MacPerl"
    activate
    do script SKRIPT
  end tell

This works fine -- but all the output goes to the MacPerl window. How can I display all results in my Filemaker cell named "RESULT"?  Justice shall be! BBEdit gets the printed results back from MacPerl, and so should Filemaker!! 
Chapter 18 of TFM Power&Ease shows 9 pages about AS, but the AS language "will not be explained" (p.248). The functions of [AS:] "return", [MP:] "MacPerl::Reply" are not clear to me -- I do not want to see only one variable or one list in Filemaker, but all the output, like in BBEdit! 
Redirect output -- somebody knows how? 

                    _\|/_
Detlef Lindenthal    o o   <detlef@lindenthal.com>
                      '





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