There's a bug in scripts I sent today. I was about to "simplify" other 
scripts using that shorter line, thinking "how could I not have that idea 
earlier", then I got suspicious and tested it from inside Emailer. Rats. 
(I don't repeat the surroundings of the offending part)

        if (windowClass as text) contains "message window"

where windowClass is a variable containing the class of an Emailer window 
seems to work from Smile, but not in real life, the (windowClass as text) 
coercion may return the name of the class to the editor, but Emailer gets 
the class code instead and the test always returns false

so that line should be replaced by one of the following:

        if windowClass is incoming message window or windowClass is outgoing 
message window then

or

        if windowClass is in {incoming message window, outgoing message window} 
then

Sorry about that.


----
VRic

___________________________________________________________________________
To unsubscribe send a mail message with a SUBJECT line of "unsubscribe" to
<[EMAIL PROTECTED]>  or  <[EMAIL PROTECTED]>

Reply via email to