On 2/3/01 8:05 AM, "Christian M. M. Brady" <[EMAIL PROTECTED]> wrote:

> On 2/3/01 3:02 AM, "Paul Berkowitz" <[EMAIL PROTECTED]> wrote:
> 
>> On 2/3/01 12:50 AM, "Jeremy Whipple" <[EMAIL PROTECTED]> wrote:
>> 
>>> Attachments: It was only yesterday, after about a month of regular use, that
>>> I fully (?) grasped the attachment situation, namely, that *every
>>> attachment*, sent or received, was staying embedded in my Messages file
>>> unless I took action to delete it (or the message to which it was attached).
>>> I've belatedly gone through and chucked the many megabytes of embedded
>>> attachments, and I've created a rule to automatically delete attachments
>>> from outgoing messages once they're sent. But I'm sorry that attachments
>>> can't reside outside the Messages file, because it's handy to be able to go
>>> back to a message later and be able to click on the attachment icon, which
>>> one can do in Eudora unless the attachment itself has been deleted or lost.
>>> (And meanwhile, I wonder how many other Eudora habitues have been letting
>>> their Messages file bulge to the bursting point because they're not
>>> conscious of the need to prune out those attachments.)
>> 
>> If you're hankering after this, you could try my script 'Save/Expand
>> Attachments' at 
>> 
>> AppleScript Central
>> <http://www.applescriptcentral.com/>
>> 
>> You'll be happy to know that it was specially adapted to handle multilingual
>> message text, including Japanese. (The device for tracking the saved
>> attachment so you can get there from its original message involves adding
>> the attachment's name and the saved file's path name to the top of the
>> message, i.e. reconstituting the message content. This will work even if
>> some or all of the message is in Japanese.)
> 
> Hi Paul, before try this script may I ask how it works? What I mean is, if I
> run it on, say my Inbox, which has lots of attachments, will it ask me to
> save before it unstuffs them? (That would take a LOT of time.)
> 
> 
Of course not! It's a general preference you can set (or change). There's
even a way to override your own general preference on specific occasions:
that's what Akua is for (or you can forget about even learning that if
you're not interested). It's a user-friendly script: loads of user
preferences available.

>From the ReadMe, describing the set-up procedure (excerpts):

2)   You will then be asked if you wish to remove the attachments from
Entourage messages and the Entourage database when they are saved to the
attachments folder as files on your hard disk. If you choose this option,
the script will set a new Attachment category to the message (or adds it to
existing categories, making the new Attachments category the prime one) and
colors it in the message pane. �

3)   You will then be asked if you wish stuffed files to be automatically
unstuffed when they are saved to the attachments folder (recommended), and,
if so, if you want the original stuffed files to be deleted if unstuffing is
successful (might as well). �

4)   If you have chosen unstuffing you will be asked if you would like files
and folders to *open automatically when you run this script on a message
with an attachment, or whether you want to be taken to the selected files in
your saved attachments folder (in the Finder), or to stay in Entourage and
do neither ³No Action²). � if you are planning to run the script from a Mail
Rule  you MUST take the No Action option.

5)  Finally, you are asked whether you are going to use the script in
conjunction with Find Attachments E script to record the Attachment details
on the top of your messages and in the Find Attachments E script (see Auto
Set-Up below). If you are planning to run the script from a Mail Rule (see
Auto Set-Up below) you MUST take this option. The idea behind it is to have
a quick way to link the message to the attachments which originally came
with it, even though they are no longer in the Entourage database. (I am
looking forward to the day when real Entourage linking to hard disk files is
scriptable. Then you will be able to link the message to each saved
attachment and get there that way instead of by running the Find Attachments
script.) 

Note: *(open) When the attachment is a folder, not a file, then the "Open
File" option will merely open the folder for you. The script can't know
which of several files (or other folders) you "really" want open: there may
be SimpleText documents, application files, HTML bookmarks, or who knows
what, inside.

You can override your own Open Files/Take Me There/No Action default choice
in any particular message by holding down modifier keys with Akua Sweets
osax installed. � But see Auto Set-Up below for a way to access your files
from the messages without having to keep them in the messages and Entourage
database.


*Remove Option
If you have clicked the Remove Attachment option, you will see the Stuffit
Expander progress window at work when the Rule and script are processing
messages with stuffed attachments. Whether the attachments were stuffed or
not, you will know that a message had an attachment by the color of a
message in the message pane, which is now the color of the ³Attachment²
category: by default this is russet. The Category effectively replaces the
paper-clip symbol for attachment (which has been removed) and alerts you as
to which message(s) had attachments now saved as files. The script will set
a new category "Attachment" with the russet color on first set up, but you
can change the color even before you run the first message, or at any later
time. (Edit Categories in the Edit menu or Categories button drop-down.).
When the script saves an attachment from a message, it sets the Attachment
category to the message (or adds to existing categories, making the new
Attachments category the prime one) and colors it in the message pane. This
is particularly useful if you have chosen to delete the attachments from the
message itself: you are alerted immediately that an attachment has arrived
with the message. (After all, it's not there any more.) You can also keep
the Categories column in view (via the View menu ­> Columns) so you will
spot the Attachment name if there is more than one category attached to this
message later on and you have set another Category as the prime one so the
message subject is a different color belonging to that other category.



---------

I tried to think of everything, but missed one thing: although AppleScript
unfortunately cannot (yet - Dan has promised this for a later release) link
the message to the saved files, you can do so yourself manually if you want
to. I'd still recommend taking the options for the script to record the
location and add the "attachment" category to get your attention, but you
can then choose either my keyboard shortcut or the link method to get to the
file.


-- 
Paul Berkowitz


--
To unsubscribe:               <mailto:[EMAIL PROTECTED]>
To search the archives:
          <http://www.mail-archive.com/entourage-talk%40lists.boingo.com/>

Reply via email to