I have written an applescript that I want to use as a Folder action to convert Text files to Tex-Edit format. I have gottent he script to work as a droplet but if I use it to work as a folder action I get this:
An error -2753 occurred while the Folder Actions server was executing a script.
Here is my script. Any thoughts?
on adding folder items to this_folder after receiving added_items
tell application "Finder"
activate
select added_items
repeat with theItem in theSelection
if (theItem's file type is "TEXT") then
set theItem's creator type to "TBB6"
end if
end repeat
end tell
end adding folder items to
thanks