At 21:13 -0600 3/2/09, Jim Chaffin wrote:
Just do a "Get Info" on a 'BBEdit file' and select BBEdit as the 
preferred app to open them. Then click the "Change All..." button.

You can still use type and creator. The SetFile developer tool still 
works. You can just put the SetFile tool in $HOME/bin/ as I have done 
below if you don't want to use the disk space for the full developer 
tools installation.

SetFile -t TEXT -c 'R*ch'

One thing you don't want to do is to use Finder's Get Info box 
without using the change all option.  That will add about 50 kB of 
application icons to the resource fork of each file you reset that 
way.

Save this AppleScript as a drag and drop application:

on open (argList)
        repeat with theAlias in argList
                set thePath to quoted form of POSIX path of theAlias
                --              display dialog thePath
                set creatorcode to "'R*ch'"
                --              display dialog creatorcode
                set command to "/Users/doug/bin/SetFile -t TEXT -c " & 
creatorcode & space & thePath
                --              display dialog command
                do shell script command
        end repeat
end open

-- 

--> From the U S of A, the only socialist country that refuses to admit it. <--

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "BBEdit Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/bbedit?hl=en
If you have a specific feature request or would like to report a suspected (or 
confirmed) problem with the software, please email to "[email protected]" 
rather than posting to the group.
-~----------~----~----~----~------~----~------~--~---

Reply via email to