Rick Lecoat [EMAIL PROTECTED] on Monday, March 24, 2003 stated:

>Received from: Leonard Morgenstern
>At: 4:02 pm (GMT) on Mon, Mar 24, 2003
>
>>It would be even better if a script could send you a warning message. To
>>accomplish this, write a script with only one line, as follows:
>>
>>   display dialog "One of your mail filters has requested a script that
>>does not exist."
>>
>>Name it !NoSuchScript. The exclamation mark sorts it to the top of your
>>script list.
>>
>>Then you have a predictable result and will know what has happened.
>
>An EXCELLENT idea, Len; of course, my Applescripting abilities are no
>feeble and nonexistant that even this simple task is currently beyond me
>(well, okay if I had a few hours to get my head around the basics I could
>work it out, but I can't right now). Anybody care to step into the breach?
>
>Rick

I will reiterate my concern with people placing scripts inside the
PowerMail package in Mac OS X. If people put scripts inside (/User/xxxx/
Mail/PowerMail Files 4/PowerMail Scripts/) instead of the PowerMail
package, then there is less of a chance of a script getting deleted
accidentally when you upgrade PowerMail versions. 

As to the script. Just copy this into Script Editor, save it with a name
of "___!NoSuchScript".

-- Begin AppleScript

Tell Application "Finder"

    display dialog "One of your mail filters has requested a script that
does not exist."

end tell

-- end AppleScript

That's it. 

Wayne 

-- 
No people is wholly civilized where a distinction is drawn between
stealing an office and stealing a purse. 
- Theodore Roosevelt

Live DAT & Music Page: http://homepage.mac.com/wayneb/
PowerMail AppleScript Archives: http://homepage.mac.com/wayneb/powermail.html

Music Currently playing: The Jealous Sound "The Foldout" : 2003-03-13
Momo's (Austin, TX)


Reply via email to