Re: Entourage Custom Views
Re: Entourage Custom Views
- Subject: Re: Entourage Custom Views
- From: Paul Berkowitz <email@hidden>
- Date: Wed, 20 Jul 2005 09:56:56 -0700
- Thread-topic: Entourage Custom Views
On 7/20/05 8:19 AM, "Todd Geist" <email@hidden> wrote:
> I would like to get every message in a custom view in Entourage. But
> everything I have tried returns {}. I seem to remember that this may not be
> possible.
>
> Can anyone confirm?
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.
--
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