Whoops, forgot to test that case. Basically, all you need to do is add {} to
make theResult into a list for the case of one phone number:

if (count of phoneList) is 1 then
   set theResult to {item 1 of phoneList}

I'm attaching the new version to Matt to put up on his site.



From: "Neil" <[EMAIL PROTECTED]>
Reply-To: "Entourage:mac Talk" <[EMAIL PROTECTED]>
Date: Fri, 20 Oct 2000 11:29:22 -0700
To: "Entourage:mac Talk" <[EMAIL PROTECTED]>
Subject: Re: Dial phone script






on 10/20/00 1:22 PM, Neil at [EMAIL PROTECTED] wrote: 

> When I try to run the script I get the following error message: 
> 
>> Can't get text 2 thru -1 of H 
> 
> Does that mean anything to anybody here? 

After some experimentation, I've found that I only get that error when the 
contact only has one phone number.  If I add another phone number, the 
script works. 

By the way, I don't see any way to get Acid Jazz to dial local area codes 
and still add the "1" prefix for long distance.  Here in Miami we have to 
dial the area code for local calls.  Allen, don't you have the same issue in

Oregon? 

Also, it doesn't pause for the comma.  I use them for pager phone numbers. 
I add the pause and my phone number.  Am I missing something?  Thanks in 
advance, 

Neil 


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

Reply via email to