At 03:57 p +0200 06/06/2007, Olof Svensson didst inscribe upon an
electronic papyrus:

hej alla!

English is not my first language. I try to keep it short but I don't
want to sound unfriendly.

I just upgraded to an Intel mac and this old script don't work anymore.

--------------------------- script -------------------------
on open FileList
        repeat with oneFile in FileList
                tell application "Finder"
                        if kind of oneFile ‚ "mapp" then
                                if file type of oneFile is ¬
                                        "TEXT" and creator type of file oneFile is not 
"R*ch"
then set  creator type of file oneFile to "R*ch"
                        end if
                end tell
        end repeat
end open

--------------------------- end script -------------------------

Have you tried recompiling it?

Does the script give an error, or does it simply not change the file(s)?

(I don't have an Intel mac.)


OR..
is there another way to make BBEdit open all my "TEXT" files?

Well, there is something in the Finder to set files like that, but
the user interface is terrible (sometimes Apple is really dumb) -- it
offers to apply the setting to similar files, but there is no
indication of whether it is going by filename extension or file type,
so I never use it because it makes no sense to me. :-)

-boo

--
------------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <[EMAIL PROTECTED]>, not to the list.
List FAQ: <http://www.barebones.com/support/lists/bbedit_script.shtml>
List archives: <http://www.listsearch.com/bbeditscripting.lasso>
To unsubscribe, send mail to:  <[EMAIL PROTECTED]>

Reply via email to