Title: Re: A script for placing an mailing address into new Entourage X record It works now
Okay, you guys, you got it worked out. Actually, that line could be:

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

I’m sorry I haven’t had time to even think of this. I should have included string class from the beginning. And I’m not even sure text is a class...and don’t care to look it up. I’ve been testy and short-tempered for the last couple of weeks. I have had a disabled brother-in-law moving in over the last several days, trying to juggle movers for his 216 lb HDTV, moving furniture, getting telephone repair and hookup, finding storage space in our already overflowing closets and basement, going to meet with his physical therapist and counselor, hooking up his computer and getting it set up for our wireless network and DSL...it’s been a madhouse!

On or near 2/20/03 11:15 AM, Max Manshel at [EMAIL PROTECTED] observed:

This change did it.

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


Thanks it worked on the smith sample.

On 02/20/2003 14:01, "Charlie Fritzius" <[EMAIL PROTECTED]> wrote:

> on 2/20/03 10:01 AM, Paul Berkowitz at [EMAIL PROTECTED] wrote:
>
>> Ah yes. Unicode text is here. Different treatment and coercions in different
>> versions of Entourage, as well.
>>
>> Try
>>
>>   if {class of x} is not in {string, Unicode text}
>
> This worked for me...except it needed to be "is in" not "is not in". Once I
> changed that, it worked.
>
> Good work, as always, Paul!
>
> -Charlie

 


--
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