• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Outlook Express script debugging
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: Outlook Express script debugging (From: Paul Berkowitz <email@hidden>)

  • Prev by Date: Re: Outlook Express script debugging
  • Next by Date: Re: running applscripts from a cron file
  • Previous by thread: Re: Outlook Express script debugging
  • Next by thread: Outlook Express script debugging
  • Index(es):
    • Date
    • Thread