Compiled version runs, script version doesn't
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