Re: Filter References and TextEdit
Re: Filter References and TextEdit
- Subject: Re: Filter References and TextEdit
- From: Christopher Nebel <email@hidden>
- Date: Thu, 1 Aug 2002 14:02:50 -0700
On Wednesday, July 31, 2002, at 04:27 PM, John Delacour wrote:
At 2:49 pm -0700 31/7/02, Christopher Nebel wrote:
The problem is that you're using a singular class name, not a plural.
Change "document" to "documents" or "every document" and you'll get
a list of documents that match. (This has got to be a bug, but I'm
not sure whether it's a problem with TextEdit or AppleScript.)
It's always been like that and I would NOT say that it's a bug.
'documents' is shorthand for 'every document' and the ae will be
compiled accordingly.
I realize that it's always worked this way, but let's face it: the
error message is less than helpful, and tends to make people think the
application just doesn't do what they're after, instead of suggesting
the actual problem. When I see three different people hit the same
problem in two weeks, I figure it's probably something I should look
at. I'm not necessarily arguing that "document whose ..." should work,
but it should at least fail more informatively.
--Chris Nebel
AppleScript Engineering
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.