On 12/9/04 4:51 AM, "Barry Wainwright" <[EMAIL PROTECTED]> wrote:

>> And also, not sure about the html part in the set statement, I would want
>> plain text if possible.
> 
> This will go out as plain text. The statement reads better if you look on it
> as:
> 
>     set fwdMessage to forward theMess to "[EMAIL PROTECTED]"
>         without (opening window and html text)
> 
> The 'forward' command defaults to openeing a draft message window, which you
> don't want in this case, hence 'without opening window'. To ensure that you
> only send plain text I also added 'without html'. The script syntax checker
> agglomerates these two switches into one, as above.

It's just AppleScript's "funny English" at work. The AppleScript designers
kept trying to make it "English-like" without perhaps having a mastery of
English grammar. They first decided that they would turn the "boolean"
qualifiers "true" and "false" into "with" and "without" when compiling. (So
"opening window true" becomes "with opening window" "opening window false"
becomes "without opening window".) Then they decided they'd use "and" to
string two such similar conditions together, so "opening window true html
text true" becomes "with opening window and html text" rather than "with
opening window with html text", which certainly does make it sound more
English-like. But then they went and used exactly the same construction for
the "false" conditions: "opening window false html text false" becomes
"without opening window and html text". In real English we'd say "without
opening window or html text", But that "or" might throw a red herring into
the logical pool as far as scripters are concerned, since it can mean
something different, so we're left with the peculiar "and".

-- 
Paul Berkowitz
MVP MacOffice
Entourage FAQ Page: <http://www.entourage.mvps.org/faq/index.html>
AppleScripts for Entourage: <http://macscripter.net/scriptbuilders/>

PLEASE always state which version of Microsoft Office you are using -
**2004**, X  or 2001. 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/>

Reply via email to