Hi there,

I set the creator/type of a file likeso:

my $of = "extract.u8";
open OF, "> $of"
    or die "cannot create `$of': $!";
my @creator = qw(LING McPL TBB6 MOSS);
                  #0   #1   #2   #3
MacPerl::SetFileInfo($creator[0], "TEXT", $of);

and after perl writes the data to OF, I'd like perl to tell the creator
app (in this case "LING") to open $of.  The creator app is not apple
scriptable, though I guess this might not matter, if perl can tell the
finder to tell the app. to open the file.

Does someone here have example code?

-Richard

Reply via email to