Re: Mac::Glue and aliases

2003-09-16 Thread drieux
On Tuesday, Sep 16, 2003, at 13:48 US/Pacific, Jeff Lowrey wrote: [..] use Mac::Glue my $iTunes=>Mac::Glue->new("iTunes"); my $temp = $iTunes->prop(location=>file_tracks,library_playlist=>'Library'); my @alias = $temp->get(); print scalar(@alias); gives me the right number. so if one didn't wan

Re: Mac::Glue and aliases

2003-09-16 Thread Jeff Lowrey
At 8:57 AM -0400 9/16/03, Jeff Lowrey wrote: At 8:27 AM -0400 9/16/03, Jeff Lowrey wrote: It works, at least. But what I really want, my @alias = $iTunes->prop(location=>file_tracks,library_playlist=>'Library'); doesn't seem to. At least, if I do use Mac::Glue my $iTunes=>Mac::Glue->new("iTunes");

Re: Mac::Glue and aliases

2003-09-16 Thread Chris Nandor
At 16:43 -0400 2003.09.16, Jeff Lowrey wrote: >I wasn't planning on retrieving the value until after I had the list >of all of them...? That is, I wanted to get all the file track >locations, and then loop over the list, and get the value of each one. Then what "doesn't work"? >Or should I be d

Re: Mac::Glue and aliases

2003-09-16 Thread Jeff Lowrey
At 8:27 AM -0400 9/16/03, Jeff Lowrey wrote: It works, at least. But what I really want, my @alias = $iTunes->prop(location=>file_tracks,library_playlist=>'Library'); doesn't seem to. At least, if I do use Mac::Glue my $iTunes=>Mac::Glue->new("iTunes"); my @alias = $iTunes->prop(location=>file_tra

Re: Mac::Glue and aliases

2003-09-16 Thread Jeff Lowrey
At 6:14 PM -0700 9/15/03, Chris Nandor wrote: In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Jeff Lowrey) wrote: Are you sure about that? If I were sure, then I woudn't have asked... :-) And here's my version: use Mac::Glue; my $iTunes = Mac::Glue->new("iTunes"); my $alias = $iTunes-