Title: Re: A script for placing an mailing address into new Entourage X record It works now
Hey, it works...

Oddly, class text DID NOT work, but class string did. That’s why it never occurred to me to try it.


On or near 2/20/03 11:35 AM, Paul Berkowitz at [EMAIL PROTECTED] observed:

On 2/20/03 11:25 AM, "Charlie Fritzius" <[EMAIL PROTECTED]> wrote:

on 2/20/03 11:15 AM, Max Manshel at [EMAIL PROTECTED] wrote:

This change did it.

                    
if (class of x is text) or {class of x} is in {string, Unicode text} then


You are right, Max. That works better.

Why do you think it works better? class text is the same as class string. Anything of of class text will be of class string. And that is stinky syntax, using both an 'or' and an 'is in'. Even if it were necessary, which it isn't, the better way to do it would be:

    
if {class of x} is in {string, text, Unicode text} then
  

But it's not necessary.


--
Microsoft MVP for Entourage/OE/Word (MVPs are volunteers)
Allen Watson <[EMAIL PROTECTED]> Entourage FAQ site: <http://www.entourage.mvps.org/>
AppleScripts for Outlook Express and Entourage:
 <http:[EMAIL PROTECTED]/Scripts/>
Entourage Help Pages: <http://www.entourage.mvps.org/>

Reply via email to