• 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
Correction: ".app" version works, ".scpt" version doesn't
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Correction: ".app" version works, ".scpt" version doesn't


  • Subject: Correction: ".app" version works, ".scpt" version doesn't
  • From: Rob Lewis <email@hidden>
  • Date: Fri, 24 Apr 2009 12:54:55 -0700

Yes, that's what I was trying to say. 

On Apr 23, 2009, at 10:48 PM, email@hidden wrote:

On Apr 22, 2009, at 8:47 AM, Rob Lewis wrote:


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?



What do you mean by "compiled version" and "script version"?


Scripts can't run unless they are compiled.


I'm sure he's talking about the difference between a plain old script 

and a script saved as an application.


My original post: 

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. 

 _______________________________________________
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

  • Prev by Date: Re: Confounded by Folder Action Script (10.5.6)
  • Next by Date: Mail's document
  • Previous by thread: Re: Why do I get different results for this?
  • Next by thread: Mail's document
  • Index(es):
    • Date
    • Thread