Re: Another Entourage Question
Re: Another Entourage Question
- Subject: Re: Another Entourage Question
- From: Paul Berkowitz <email@hidden>
- Date: Tue, 04 Dec 2001 13:28:59 -0800
As you say, you can't get results of a custom view.
You could usually set the same sort of criteria as you set in a custom view
in the script itself, however : repeat in every relevant folder to get every
message of folder "Whatsis" whose something or other is this and something
else is that. It would take a while, but would work better than selection.
It would be impossibly cumbersome to try to get other users to set their own
criteria (I've tried), but you could set your own in the script without too
much difficulty, I think.
--
Paul Berkowitz
>
From: Mike Melvin <email@hidden>
>
Date: Tue, 04 Dec 2001 14:45:06 -0500
>
To: Applescript Users <email@hidden>
>
Subject: Another Entourage Question
>
>
Hello,
>
I'm a relative AppleScript newbie (learned it in a HyperCard context years
>
ago, gave up since then, never got really good), and I have a question about
>
Entourage:
>
>
I am trying to make a backup script for Entourage. Currently, it runs
>
through my entire folder hierarchy (omitting specified folders), reproduces
>
the structure in a folder called "Archive", and that works perfectly.
>
>
However I'm at a loss as to how to actually get messages in to the folders
>
efficiently. I tried making a custom view for my criteria, which would be
>
the best possible solution, but I cannot figure out how to select anything.
>
Entourage seems to allow altering the selection from a script:
>
>
tell application "Microsoft Entourage"
>
set the selection to {incoming message id 51502, ,
>
incoming message id 51480}
>
end tell
>
>
This works fine, however getting the message ids of 20000 messages would
>
take a little while! It would at least be easier (not faster) if I could get
>
the message id of a given item in a custom view, but that does not seem to
>
work at all (custom view has no properties aside from name and id).
>
>
Ideally, I could switch to the custom view (works from script), select all
>
(don't know if it works from a script), get the selection, and then
>
beginning moving the messages. I could, of course, select all manually, but
>
this would defeat the purpose of automatic backup.
>
>
Does anyone have a solution to this dilemma? I'm open to anything that might
>
work, no matter how much of a hack, since this is only for personal use.
>
>
Thanks in advance,
>
Mike
>
_______________________________________________
>
applescript-users mailing list
>
email@hidden
>
http://www.lists.apple.com/mailman/listinfo/applescript-users