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

[MacPerl] Getting a value back from AppleScript



Is there any way to make AppleScript return a value and hand it to
MacPerl. For example:

MacPerl::DoAppleScript(<<END_SCRIPT);
      return 3 + 4
      END_SCRIPT


I would like to retrieve the result (3 + 4) and store it in a Perl
variable.

Many thanks.

Philippe de Rochambeau


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