On 2009-05-19, at 19:44:25, Chris Page wrote:
(Personally, I don't think commands that operate on files should ever work with strings, because they're ambiguous. I think you should have to say “file …”, “alias …” or “POSIX file …”.)
I agree because, AppleScript, being the prime illustration of polymorphic functionality, when presented with an 'info for' for a string should return info about the string. For instance, using the following quote (which I probably pinched from one of Ms Steiner's sigs):
info for "People seem to misinterpret complexity as sophistication. -- Niklaus Wirth"
we might expect a result like:
{byte count:148, character count:74, encoding:"US-ASCII", editable:true, insertion point:0, paragraph count:1, word count:9, attributes:{{range:{1, 74}, font-family:"Chalkboard", font-size:10.0, font-weight:bold, font-style:normal, text-decoration:none}}} Philip Aker echo email@hidden@nl | tr a-z@. p-za-o.@ Democracy: Two wolves and a sheep voting on lunch.
|