Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 7069 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I am looking to add a button that will move a name, email address, and phone# to Mac Address Book.

I am also looking for an AppleScript that will move a date and description to iCal.

Thanks in advance.

Jim

Posted

Here is a limited attempt. I also spent quite a lot of time building an FileMaker to iCal 2-way synchronization AppleScript. It worked OK in my limited testing. But then I discovered a flaw in iCal's AppleScript implimentation. You (I anyway) could not get or set the Notes of a To Do in iCal (1.5.5). It doesn't create an error, but you get nothing. So I gave it up. Hopefully this will be fixed at some point. It can be gotten via the vCard, but that's so ugly.

AB7.zip

  • 1 month later...
Posted (edited)

I dont have the example with me but the theory went somethng like this.

1.Export a file via scriptmaker to tab separated.

2.with apple script make a file with just the title headers (tab separated)

3.again with apple script combine 1&2.

4 Then you have to use applescript using the UI to tell address book to import the file.

5.Then delete the two txt files you created.

Not knowing much about applescript make for a steep learing curve but it worked in the end.

My example didnt need any user interaction but if a user can seelct the first text file and control the fact that it doesnt have headers (address book will ask waht fields thwy are to convert to) then steps 2& 3 could be eliminated.

Caveats

1) only works in 10.4 (cant import a text file in address book in 10.3)

2) you need enable assistive access in the system prefs/Universal access to let ui scripting to work

Edited by Guest

This topic is 7069 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.