From previous posts (ages ago) I thought the following code should return the physical size of the folder in question. However getting ->prop() just returns the $obj for some reason. What am I doing wrong?

Cheers!
Rick



use Data::Dumper;
use Mac::Glue;

my $finder = new Mac::Glue 'Finder';
my $obj = $finder->obj(folder => "/Volumes/2004-07\ July/Some\ Folder");
my $size = $obj->prop('physical_size');

print Dumper $size;
__END__


Senior Developer PrintSupply - Print Procurement & Supply Management 18 Greenaway Street VIC 3105 Tel: (03) 9850 3255 Fx: (03) 9850 3277 http://www.printsupply.com.au/



Reply via email to