Re: Filter References and TextEdit
Re: Filter References and TextEdit
- Subject: Re: Filter References and TextEdit
- From: John Delacour <email@hidden>
- Date: Thu, 1 Aug 2002 00:27:30 +0100
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.)
--Chris Nebel
AppleScript Engineering
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. 'app' is an abbreviation for 'application'
_in_certain_contexts_ but you use abbreviations at your peril because
'app file' means nothing, as you will see if you try to compile this
tell app "Finder" to app file id "ToyS'
The event viewer always logs the standard syntax and it is best for
learners to stick to this and use the fancy or abbreviated syntax
only when they are familiar with Apple Events.
JD
_______________________________________________
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.