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
                --              display dialog command
                do shell script command
        end repeat
end open

-- 

Applescript syntax is like English spelling:
Roughly, though not thoroughly, thought through.

-- 
------------------------------------------------------------------
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