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.