On 8/21/03 7:44 AM, "Khoi Vinh" <[EMAIL PROTECTED]> wrote:
> That's a great rule. I replicated it for myself, but I wanted to do more
> than just set the category to "virus" -- I'd prefer to permanently delete
> any messages carrying these sorts of attachments.
>
> So I set the (only) action in my rule to run the AppleScript "Nuke
> Messages," which was mentioned in another post to this very same thread
> yesterday by Mickey Stevens.
>
>> "Run AppleScript: Nuke Messages"...[will] delete the message
>> permanently from your system, bypassing the Deleted Items folder,
>> but be careful since there is the unlikely chance you'll lose
>> a legitimate message this way.
>>
>> You can download the free AppleScript from SomeDude Software; make sure you
>> download the Entourage version.
>> <http://www.avernus.com/~phil/OEStuff.html>
>
> I made sure to get the Entourage version of the script.
>
> The result is the rule seems to be able to identify messages with these
> attachments, but the AppleScript doesn't seem to be able to 'nuke' them. I
> get an error that reads:
> "Microsoft Entourage got an error: Can't get selection."
>
> I know next to nothing about AppleScripts, so any help would be appreciated!
That script seems to have been designed to work only manually, not from a
rule. There might be a good reason for that -- the script author will be
along in a few moments, I'm sure.
To get it to work both manually and from a rule, you can probably simply
change a line near the top of the script that says something like:
set [someVariable] to selection
or
set [someVariable] to the selection
to
set [someVariable] to current messages
Don't change whatever word is actually [someVariable]: just change '[the]
selection' to 'current messages' (no quotes), and save.
--
Paul Berkowitz
MVP Entourage
Entourage FAQ Page: http://www.entourage.mvps.org/toc.html
PLEASE always state which version of Entourage you are using - 2001 or X.
It's often impossible to answer your questions otherwise.
--
To unsubscribe:
<mailto:[EMAIL PROTECTED]>
archives:
<http://www.mail-archive.com/entourage-talk%40lists.letterrip.com/>
old-archive:
<http://www.mail-archive.com/entourage-talk%40lists.boingo.com/>