Here are the AppleScripts I use, and the price is really good :-) This one checks the file type & creator of a current file: tell application "Finder" set tFile to choose file set tType to the file type of tFile set tCrea to the creator type of tFile display dialog tFile & return & tType & return & tCrea as string end tell
And this one will make any changes: tell application "Finder" set tFile to choose file set tType to the file type of tFile set tCrea to the creator type of tFile display dialog "Set file type to:" default answer tType set the file type of tFile to text returned of the result display dialog "Set creator type to:" default answer tCrea set the creator type of tFile to text returned of the result end tell
have fun, Sarah
On Wednesday, June 4, 2003, at 03:10 pm, Brian Thomas wrote:
Hi, I've been working on a big project called If Monks had Macs forever. I've been going back & forth between Revolution & MetaCard because I had been working with Scott Raney and Tuviah on getting special fixes to the MetaCard engines for a bunch of QuickTime related issues. Thankfully they are all incorporated in Revolution 2.0. So I've begun reading this list, digging into MetaCard and trying to use the Distribution Builder. I have had some real difficulty getting the builder to apply the creator codes and icons in OS X as I would like. I put the creator code in the signature box for OS X (as well as the creator signature box for the OS 9) but it doesn't apply.
I'm getting really frustrated.
If there is a past thread or a guide to using it that would be nice. But I was hoping someone could suggest a sort of Gordian Knot solution. Like Mathewson's for dealing with the frustration of the mis-sized distribution or stand-alone builder box (just go ahead and fix it in MetaCard (I made it re-sizeable).
I thought I could just hack the files with an OS X version of Resedit. However, everything I could find that didn't cost $256 only works on files, not applications. I didn't try the thing that costs $256.
Is there a free or cheap way to change the creator and/or type codes in OS X ?
-- Brian
[EMAIL PROTECTED] http://www.rivertext.com/
a worker's guide to western civilization
http://www.rivertext.com/stuff
one American city's dissent _______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
_______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution