Paul, maybe your line will work, but I swear that I had a script at one point that worked if I put my name in it, but failed if I put "SpamCop". The only difference being which contact I was looking at. I cannot explain that, and your suggestion does not explain it either. If it happens again I will definitely report it. And, I'll try a revised version of my SpamCop Report script. -- Microsoft MVP for Entourage/OE/Word Allen Watson <[EMAIL PROTECTED]> XNS name: =Allen Watson Applescripts for Outlook Express and Entourage: <http://homepage.mac.com/allenwatson/>
> From: Paul Berkowitz <[EMAIL PROTECTED]> > Reply-To: "Entourage:mac Talk" <[EMAIL PROTECTED]> > Date: Tue, 18 Dec 2001 12:33:34 -0800 > To: Entourage Mac Talk <[EMAIL PROTECTED]> > Subject: Re: new SPAMCOP script for Entourage? > > On 12/18/01 12:27 PM, I wrote: > >> On 12/18/01 12:16 PM, "Allen Watson" <[EMAIL PROTECTED]> wrote: >> >>> I started to do it that way, wasted a couple of hours messing with it >>> because I could not--for some inexplicable reason--get this line to work: >>> >>> set SpamAddr to default email address of (get contact "SpamCop") >> >> set SpamAddr to contents of default email address of (get contact >> "SpamCop") > > > 'default email address' is just a reference to 'email address 1' (or 2), > which is another one of those properties that needs resolving. 'contents > of' gets the string property of the reference (see the Dictionary entry for > 'email address' in the Contact Suite.) but just resolving the property with > an explicit 'get' it works too. This should also work: > > set SpamAddr to (get default email address of (get contact > "SpamCop")) > > > > -- > Paul Berkowitz > > > -- > To unsubscribe: <mailto:[EMAIL PROTECTED]> > To search the archives: > <http://www.mail-archive.com/entourage-talk%40lists.boingo.com/> -- To unsubscribe: <mailto:[EMAIL PROTECTED]> To search the archives: <http://www.mail-archive.com/entourage-talk%40lists.boingo.com/>
