Re: Whose Clause Dependable on 10.3.7?
Re: Whose Clause Dependable on 10.3.7?
- Subject: Re: Whose Clause Dependable on 10.3.7?
- From: "stephan peterson" <email@hidden>
- Date: Tue, 7 Feb 2006 13:31:25 -0600 (CST)
- Importance: Normal
Sorry, I should have been more specific. I'm referring to the use of the
whose clause with the Finder. Basically, moving files from a folder after
they've been there for > 20 minutes by looking at their modification date.
Thanks,
Stephan
> On 2/7/06 10:33 AM, "stephan peterson" <email@hidden> wrote:
>
>> Does the whose clause seem to be dependable on 10.3.7? A co-worker
>> shared
>> that in the past he'd found it to not be dependable. What are the
>> opinions
>> of folks here?
>
> 'whose' clauses are implemented by an application's developers for that
> application. It's possible that they might be done "sporadically" in an
> application: just for some elements, not others. The dictionary's listing
> of
> the elements of each class should tell you if elements can be specified by
> a
> whose clause, but Script Editor 2.0 (including in Panther) no longer has
> this information. (Even 'item' element of 'application' in Finder
> dictionary, for example, is missing this info.) Script Editor 1.x used to
> say 'satisfying a test'. Script Debugger and Smile dictionaries still have
> the information, and it still works, if course, even in Script Editor.
>
> OS 1.37, or any other OS, has northing whatsoever to do with "reliability"
> of whose clauses. They're part of the AppleScript language, as they have
> always been since they were first invented. How a particular app
> implements
> them (i.e. on which elements) will depend on the version of the app, not
> the
> OS. There might be some app which lists an element as 'satisfying a test'
> but then doesn't work right for certain properties of that element - and I
> wouldn't be surprised if that occurs with some of Apple's own apps in
> Panther. There are one or two quirks with whose clauses (e.g. if an
> application contains a class and a property of the same name, you'll need
> to
> use 'where its' instead of 'whose). But none of this depends on OS 10.3.7,
> except insofar as it might refer to a particular Apple app that comes with
> that version (and usually other subversions of Panther as well). It's the
> application's version you need to look at, not the OS version.
>
> So how about finding which application, which elements and which
> properties
> of that element seem to have problems with 'whose' clauses, and asking
> about
> those, specifically? And as far as "reliability" goes: if a particular
> whose
> clause works once, it should work every time.
>
> --
> Paul Berkowitz
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Applescript-users mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden