Re: Entourage Custom Views
Re: Entourage Custom Views
- Subject: Re: Entourage Custom Views
- From: Paul Berkowitz <email@hidden>
- Date: Wed, 20 Jul 2005 10:14:07 -0700
- Thread-topic: Entourage Custom Views
On the other hand, you can use AppleScript with the same criteria as your
custom view uses to get the same results - slower, but still pretty good
since 'whose' clauses work here. There are very few criteria available to
Advanced Finds and Custom Views (but a few, nevertheless) which cannot also
be done by script. In fact AppleScript can do more sophisticated searches
even than Custom Views because they can combine AND and OR criteria in
mixed fashion, which UI Finds cannot (there you have to choose between 'if
ALL criteria are met' and 'if ANY criteria are met').
What are the criteria of the custom views whose results you'd like to get by
script?
--
Paul Berkowitz
> From: Todd Geist <email@hidden>
> Date: Wed, 20 Jul 2005 10:04:28 -0700
> To: AppleScript-Users <email@hidden>
> Subject: Re: Entourage Custom Views
>
> Thanks Paul
>
> That is what I was afraid :<(
>
> Todd
>
>
> On 7/20/05 9:56 AM, "Paul Berkowitz" <email@hidden> wrote:
>
>>
>> You cannot get results (contents) of a custom view by script. You can't
>> really get anything of any interest from a custom view. A big lack, but
>> apparently a very big issue (waiting for display to complete, etc.)
>>
>>
>> If the custom view is open in the front, and every message is selected
>> (cmd-A). then 'get the selection' will in fact get every message. You
>> _could_ open the custom view by script and use GUI scripting to select all,
>> then get the selection. But the problem for you too would be knowing how
>> long you had to wait for all the data to display before emulating cmd-A.
>> Perhaps you could keep trying it in a repeat loop with 1 second delays, and
>> stop when the result (list) is both non-empty and the same as the previous
>> attempt (no change), but that's awfully iffy.
>
> --
>
>
> _______________________________________________
> 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