In article <[EMAIL PROTECTED]>,
 [EMAIL PROTECTED] (Chap Harrison) wrote:

> Thanks for writing - it sounds like your expectations are similar to 
> mine for application development tools.  For databases in particular, I 
> may start looking into mySQL as an alternative.  For other apps, if 
> their AppleEvents interface can be divined, I will give Perl 
> appleevents a try.

Mac::Glue makes it relatively easy to do it, especially if you have some 
experience with AppleScript.  Taking your original psuedocode, here's the 
untested Mac::Glue equivalent:

   use Mac::Glue ':all';
   my $fm = new Mac::Glue 'FileMaker';
   my $handles = $fm->obj(
      records  => whose(field => 'price', equals => '*'),
      database => 1
   );

   for my $handle ($handles->get) {
      # do something
   }

For more info on Mac::Glue, you might want to see the recent article on 
perl.com.

   http://www.perl.com/pub/a/2004/01/23/macglue.html

-- 
Chris Nandor                      [EMAIL PROTECTED]    http://pudge.net/
Open Source Development Network    [EMAIL PROTECTED]     http://osdn.com/

Reply via email to