Hi,
the following used to work on Tiger but just gives an error (can't set)
on Leopard :-(
tell application "Finder"
if (exists theFile) then set the comment of theFile to theString
end tell
(of course the file is writeable, commenting manually works)
--
Tobias Weber