Mailing Lists: Apple Mailing Lists

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

How does one save a vcard?



I've tried everything I can think of, but none of it works. It either creates an error or fails silently.

Here is one example:

tell application "Address Book"
	set daName to name of person 1
	tell application "Finder"
		make new file with properties {name:daName & ".vcf"} at folder "Dora"
		set dest to the result as alias
	end tell
	set foo to vcard of person 1
	save foo in dest
end tell

I've tried it without creating the file with the Finder.

-- Michelle

--
Color is just a pigment of your imagination.

_______________________________________________
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/archives/applescript-users

This email sent to 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.