Trying to add my contacts into my soon to be PC at work.
I found this script on MacScripter that appears to convert all of your contacts at once into vcards. (Try this with AddressBook and it will make all of them into one vcf file which Outlook will not read. The Script is called "Export_AddressBook_as_vcards.scpt".
However, I can't get it to work. Here is the script.
tell application "Address Book"
set PathName to "Disk:Folder:Subfolder:" -- "Powerbook:Users:myusername
esktop:vcards to export:" --
set npersons to count of people
repeat with i from 1 to npersons
set vcardinfo to (vcard of person i) as text
set personName to (name of person i) as text
set target_file to PathName & personName & ".vcf" as text
try
set the open_target_file to �
open for access file target_file with write permission
set eof of the open_target_file to 0
write vcardinfo to the open_target_file starting at eof
close access the open_target_file
on error theErrMsg number theErrNumber
return theErrNumber
end try
end repeat
end tell
The set path name to Disk line is the key. I added my destination file where it said to add it. I put this script in my script folder within AddressBook.
Ideas?
Maybe you even know of a better way to export my Addressbook contacts into Outlook.