5/12/03 Tannis Baker : >I just got a couple of **SPAM** mails with attachments this morning - >they were filtered to the Deleted folder properly but, as before, the >attachments were not trashed. > >This is peculiar because the new Mail Action does not specify how to file >- that part was activated because it was told to run Trash Messages and >Attachments - with the help of the script, the Action did the first part >and not the second.
I don't know what may be causing this. Older versions of the scripts had such problems sometimes, but I'll have to see it myself to get a chance of fixing it. With the current scripts, the only failure to date was when I tried to trash attachments located in a folder for which I didn't have modification rights (Emailer and the DB were on a server running OS X, and the attachments folder was protected). This caused an error message. Older versions of the scripts sometimes failed to trash attachments because AppleScript commands timed out before the Finder did the job, which caused an error message. This should be fixed now, unless you use AppleScript 1.7 that came with Mac OS 9.2.2 and is very slow (see below). General recommandations that may help (would apply to any script): Open the script in a script editor (NOT Script Editor 2 under OS X, do it under OS 9 or use Smile instead), type a space somewhere in the script, erase that space and save. This will recompile the script with references to your own Emailer and Finder, which is better and faster. Avoid AppleScript 1.7 that came with Mac OS 9.2.2: - either revert to 1.6 that is available as a separate download from Apple (I use AS 1.6 on my OS 9.2.2-only PowerMac 9600/G4) - or upgrade to the latest 1.8.3 that may be available as a download too or gets installed by Classic under OS X (I use AS 1.8.3 on my OSX/Classic iBook) To do that, replace versions 1.7 of the "AppleScript" extension in your OS 9 Extensions folder and the "Standard Additions" osax in the Scripting Additions folder with versions 1.6 or 1.8.3. This will make AS much faster for scripts called within applications, like all Emailer scripts, and may avoid timeouts that would cause commands to fail. >The problem is, .html attachments are all labelled the same with only a >number differentiating a legitimate file from some dreadful spam >attachment that one does not want to open! And I would prefer not to >have to figure out which was which either by laboriously >cross-referencing or by opening the spam to see what number its >attachment is so that I can find it in my Attachments folder and delete >it manually. You can rename legitimate html attachments without breaking the link (attachments are alias links: you can rename or move the file). To do so the easy way is to option-double-click the attachment in Emailer to select that file in the Finder, then rename it. The better way would be to use a script to automatically invent a name based on the date and subject. I think someone already tried something like this. I may write one if we don't find any. ---- VRic ___________________________________________________________________________ To unsubscribe send a mail message with a SUBJECT line of "unsubscribe" to <[EMAIL PROTECTED]> or <[EMAIL PROTECTED]>

