• 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
Compiled version runs, script version doesn't
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Compiled version runs, script version doesn't


  • Subject: Compiled version runs, script version doesn't
  • From: Rob Lewis <email@hidden>
  • Date: Wed, 22 Apr 2009 08:47:26 -0700

I sell a small script for transferring contacts from Now Contact to Address Book. 

I've had very few problem reports, but this one has me stumped: one customer can run the compiled trial version fine, but the paid, editable script version fails immediately with this error: 

applevent handler failed

this piece of code (in a "tell app Address Book") gets highlighted:
make new person with properties ¬
{first name:ABfname, middle name:ABmname, last name:ABlname, job title:ABtitle, department:ABdept, organization:ABco, note:ABnote, company:false}

There is literally a one-line difference between the two versions: the trial version's main loop terminates after 20 contacts, while the full version processes all contacts. The failure apparently comes on the first pass through the loop. No new contacts are created in Address Book. 

I know that Address Book scripting has bugs, but why only this one user? And why does the compiled version work and the script version doesn't? 

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Compiled version runs, script version doesn't
      • From: Michelle Steiner <email@hidden>
  • Prev by Date: Re: Script Spaces
  • Next by Date: Re: Script Spaces
  • Previous by thread: Re: AppleScript-Users Digest, Vol 6, Issue 183
  • Next by thread: Re: Compiled version runs, script version doesn't
  • Index(es):
    • Date
    • Thread