Re: Outlook Express script debugging
Re: Outlook Express script debugging
- Subject: Re: Outlook Express script debugging
- From: Paul Berkowitz <email@hidden>
- Date: Thu, 10 Jan 2002 21:11:34 -0800
On 1/10/02 8:58 PM, I wrote:
>
try -- might be only 1 character "
>
set dName to text 1 thru -2 of dName
>
on error
>
set AppleScript's text item delimiters to {""}
>
-- reset to default
>
set dName to ""
>
set the contact's {first name, last name} to
>
{"", ""} -- one line
That should be:
try -- might be only 1 character "
set dName to text 1 thru -2 of dName
on error
set AppleScript's text item delimiters to {""}
-- reset to default
set dName to ""
set {first name, last name} to {"", ""}
(It's already in a tell block to theContact, plus I left an unfortunate
space in the unnecessary variable, turning it into a meaningless object that
would error. I never tested a "stupid email address" with no name except
"" so I missed that.)
--
Paul Berkowitz