OOps. Or is O-Ops?

SetFile is an old MPW tool provided by Apple in the Developer Tools package. On 
the machine that I copied the AppleScript from I am using a copy kept in my 
home folder.

You don't need to have all of the developer tools loaded to use it. but you 
won't find it in /Users/doug/bin anyway. Applescript does demand full paths for 
such things so you'll need to replace the path in the line that starts with set 
command to wherever SetFile resides on your machine. Try "which SetFile" in 
Termnal.app or a BBEdit worksheet.  Ask off line if you need a copy of SetFile 
and don't want to load the developer tools. Apple, Inc. would not approve of 
posting it here.

At 08:48 -0700 2/5/08, I wrote:
>At 06:51 -0800 2/5/08, Richard Carr wrote:
>>I have a ten-year-old Classic application called BB-Gun. It's a drag- 
>>and-drop BBEdit-type changer for text files I download from a server.  Is 
>>there a Mac OS X app that does the same thing? I'm thinking of  moving to an 
>>Intel Mac and all my Classic apps will stop working!
>
>
>Put this into Script Editor and save as an 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
>               do shell script command
>       end repeat
>end open

-- 

--> Evolution made it possible for mankind to invent religion. <--

-- 
------------------------------------------------------------------
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_talk.shtml>
List archives: <http://www.listsearch.com/BBEditTalk.lasso>
To unsubscribe, send mail to:  <[EMAIL PROTECTED]>

Reply via email to