I've googled & searched the site for this with no luck, and you guys were such great help last time. I was hoping someone might have an idea of how to change the current users iMessage icon through Applescript? I have looked through the Messages suite under the applescript library and found that there under the class 'application' there is a property 'image'. The description of which is "My image as it appears in all services". It does not appear to be read only.
I am trying to change that property, but in my limited knowledge of Applescript it does not appear to be working. Here's what I've got:
tell application "Messages"
set image to NewImage
end tell
NewImage in this case is a POSIX file path (which I'm not sure is right either) ;\
(OSX Yosemite by the way) Thanks :]