Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: scripting addressbook



I agree with Wayne. Your problem will be in Filemaker. The trick is to break your Filemaker script into individual scripts that call each other, one step at a time so that each step is completed before the next one begins. Also I often have to add a pause step (some seconds) to ensure that Filemaker does not over-run the external scripts that I call.

Peter

On 09/01/2007, at 5:58 PM, Wayne Melrose wrote:


On 8. jan. 2007, at 23.56, Bob Cuilla wrote:

I am scripting address-book(AB) from within Filemaker pro. I am adding names, etc thru scripting. I have absolutely no problem when I run the script manually, but when a put it in a loop issues arise. It seems that AB takes a fair amount of time to save its "stuff" to disk and when the next iteration of the Ascript comes along it may miss it altogether or even erase all entries in AB.

I was wondering is anyone has had an experience with scripting AB and could comment


Bob Cuilla Orlando



I could be wrong, although I think you should be looking to Filemaker as much as Address Book. Filemaker will not wait for commands to finish before moving on, so if something is slowing down through the loop, Filemaker will just move on to the next line in your script.. Without seeing the script it's hard to tell, although I think this is worth you checking out.

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


This email sent to email@hidden

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

This email sent to email@hidden
References: 
 >scripting addressbook (From: Bob Cuilla <email@hidden>)
 >Re: scripting addressbook (From: Wayne Melrose <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.