John Gruber <[EMAIL PROTECTED]> wrote on 1/31/04 at 3:24a:
> If I do this:
>
> MacPerl::SetFileInfo('', '', $f);
>
> the type and creator are set to garbage values. I can't figure out a
> way to do it using the developer tools' SetFile command, nor using
> AppleScript. The problem is that wi
MacPerl::SetFileInfo makes it easy to set normal type and creator
codes:
#!/usr/bin/perl
use strict;
use warnings;
use MacPerl;
foreach my $f (@ARGV) {
MacPerl::SetFileInfo('R*ch', 'TEXT', $f);
}
But what if I want to *remove* type/creator codes, so as to let
Laun
At 3:24 am -0500 31/1/04, John Gruber wrote:
Also, does anyone know if '' is still the Apple-sanctioned
OSType for "unknown"? Doing this:
MacPerl::SetFileInfo('', '', $f);
seems to produce the same results as setting the values to blanks.
The new thing is << missing value >> and i
MacPerl::SetFileInfo makes it easy to set normal type and creator
codes:
#!/usr/bin/perl
use strict;
use warnings;
use MacPerl;
foreach my $f (@ARGV) {
MacPerl::SetFileInfo('R*ch', 'TEXT', $f);
}
But what if I want to *remove* type/creator codes, so as to let
Laun