Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Applescript > Adding images t...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 7 Topic 1601 of 1610
Post > Topic >>

Adding images to Address Book people.

by Jason8 <jason.leach@[EMAIL PROTECTED] > Apr 24, 2008 at 05:55 PM

Hi: I'm having trouble adding images to address book people. Can
anyone advise on the correct way to do it? Here is what I have so far:

set this_file to "/tmp/foo.tiff"

try
	tell application "Image Events"
		-- start the Image Events application
		launch
		-- open the image file

		set this_image to open this_file
		tell application "Address Book"
			set g to group "TELUS"
			--set p to person 1 of g
			set the image of p to this_image
		end tell
		--close this_image
	end tell
on error error_message
	display dialog error_message
end try




 7 Posts in Topic:
Adding images to Address Book people.
Jason8 <jason.leach@[E  2008-04-24 17:55:38 
Private Message
   2008-04-24 18:28:42 
Private Message
   2008-04-24 21:06:45 
Re: Adding images to Address Book people.
Jason8 <jason.leach@[E  2008-04-25 10:12:09 
Re: Adding images to Address Book people.
Jolly Roger <jollyroge  2008-04-25 18:37:27 
Re: Adding images to Address Book people.
Jason8 <jason.leach@[E  2008-04-27 10:06:44 
Re: Adding images to Address Book people.
Jolly Roger <jollyroge  2008-04-27 14:00:23 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon May 12 6:07:59 CDT 2008.