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

[MacPerl] FMP glue result



Hi list,

i'm write a script which include some glue for FMP4.
It's no trouble until i want to get the number of record in the FMP4 DataBase.

The right Apple Script code is :

Tell ...etc
	count record of first database - - total records in file
etc...
End tell

With MP and the Mac::Glue i write :

my $nbrofrecord = $fm->obj(count => records, database => 'my_nice_DB');
print $nbrofrecord;

And MacPerl return :

AEObjDesc=HASH(0x47b8618)

what is not i expect to get.

If i use :

my  $nbrofrecord = $fm->get( $fm->obj((count => records, database =>
'my_nice_DB'));

I get the same type of value.

How to get back the propert type of value ?

Thank you for help.

MJM


######################################################
                               mailto://mjm@aix.pacwan.net

                                       Jean-Michel MEYER
                                  Journaliste - Photographe

http://www.azur-press.com  mailto://mjm@azur-press.com
######################################################



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