Another Entourage Question
Another Entourage Question
- Subject: Another Entourage Question
- From: Mike Melvin <email@hidden>
- Date: Tue, 04 Dec 2001 14:45:06 -0500
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