[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] File Creator Codes?



At 9:42 AM -0500 1/14/99, Richard Gordon wrote:

} Today's MacPerl mystery is why the html files that I am writing out during
} script execution are showing up as MPW text files whether the script is run
} out of MacPerl directly or via BBEdit? All that the script does is open a
} series of existing files, read them, insert some links, and write them back
} out into a different folder. The script does not specify anything about the
} format of the output files and the original input files are of type BBEdit.
} Everything involved uses .html as an extension and both the File Exchange
} and Internet control panels (OS 8.5.1) are set to treat them as BBEdit 5.0
} files. The default file type in BBEdit is BBEdit. Altho I do have MPW, I
} rarely use it for anything but horsing around.
}
} This is not the end of the world, but rather odd and a bit inconvenient. Any
} thoughts?

Why don't you simply set the creator code the way you want it in your
MacPerl script?  MacPerl::SetFileInfo(CREATOR,TYPE,$file).

}
} Richard Gordon
} Gordon Consulting & Design
} Voice: 770-565-8267  Fax: 770-971-6887
}
}
}
} ***** Want to unsubscribe from this list?
} ***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch



-----
Paul J. Schinder
schinder@pobox.com

***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch