• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Filter reference form question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Filter reference form question


  • Subject: Re: Filter reference form question
  • From: Emmanuel <email@hidden>
  • Date: Thu, 18 Dec 2003 09:28:42 +0100

At 9:28 PM -0800 17/12/03, Christopher Nebel wrote:
>On Dec 17, 2003, at 6:03 PM, Paul Berkowitz wrote:
>
>>On 12/17/03 11:19 AM, "Christopher Nebel" <email@hidden> wrote:
>>
>>>On Dec 17, 2003, at 7:42 AM, Brennan wrote:
>>>
>>>>every foo whose width is less than its length
>>>>
>>>>This kind of filter fails...
>>>
>>>Unfortunately, no application I've checked handles this correctly...
>>
>>It doesn't fail in _every_ application:
>>
>>tell application "Microsoft Entourage"
>> get every event whose start time = its end time
>>end tell
>>--> {event id 2063 of application "Microsoft Entourage"}
>
>has pointed out to me offline that Tex-Edit Plus also gets it right:
>
> tell document 1 of application "Tex-Edit Plus"
> get every word whose first character is its last character
> end tell
> --> {"radar", "bob", "roger"}

Smile gets it right, too:

--------------------
every window whose width is its height
--------------------

For me this implies that it's really AppleScript which performs the feature. Smile's participation restricts to providing AppleScript on demand with the values of "width" and "height".

Maybe it just doesn't work in applications where the "whose" clause was explicitly implemented (which OTOH makes them reply much faster to those filters).

Emmanuel
_______________________________________________
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.

References: 
 >Re: Filter reference form question (From: Paul Berkowitz <email@hidden>)
 >Re: Filter reference form question (From: Christopher Nebel <email@hidden>)

  • Prev by Date: Re: First-class procedures in AS
  • Next by Date: Re: Strange iDisk name (e.g., name-1)
  • Previous by thread: Re: Filter reference form question
  • Next by thread: Re: Filter reference form question
  • Index(es):
    • Date
    • Thread