It works like a champ. Thank you so much. I think Mac::Glue is really cool.
Joe Alotta
On Mar 24, 2004, at 11:24 AM, Chris Nandor wrote:
#!/usr/bin/perl my $f = new Mac::Glue 'Finder'; $f->obj(file => [EMAIL PROTECTED])->open;
This does require the latest Mac::Glue, 1.19, uploaded last night (which
depends on Mac::Carbon 0.66, also uploaded last night).
Chances are, this will work just fine, as Finder will open the file with the
right app. But if it opens in the wrong app, you can do this:
my $app = $f->obj(file => '/Applications/Preview.app'); $f->obj(file => [EMAIL PROTECTED])->open(using => $app);