5 ms·
Funny to see someone besides me post a link to one of my git repos :) What I've done to get around of some of these issues is run an OS X 10.10 VMware image to
by camhenlin 10y ago
Funny to see someone besides me post a link to one of my git repos :) What I've done to get around of some of these issues is run an OS X 10.10 VMware image to handle running iMessage-related code. This gets less UI interference since it is fairly AppleScript heavy. Another poster pointed out that disabling some of OS X's security features seems to make this work as well, but I didn't really feel comfortable recommending that anywhere. I just want to easily and programmatically send and receive iMessages!
- pvg 10y agoIt's not clear from the note on the git repo, what got removed and what functionality got disabled?
- camhenlin 10y agoUI Scripting capabilities were quietly blocked from being used with Messages.app in OS X 10.11
- nier 10y agoI don't understand. In Yosemite you don't need any UI Scripting. Have they removed this from El Capitan as well? What happened to: tell application "Messages" set iMessageService to (first service whose service type is iMessage) send "Hello World" to buddy "0123456789" of iMessageService end tell
- camhenlin 10y agoNo, that will no longer work in OS X 10.11 without disabling OS X's system integrity protection
- pvg 10y agoReally? I just tried in the script editor and it works.
- jsjohnst 10y agoI also just tried it on 10.11.5 w/o SIP disabled and it works for me too.
- camhenlin 10y agoCool, didn't realize that, thanks for checking. However this method doesn't appear to work for group chats as far as I can tell, only one-on-one messages