I would like to remove old Messages threads. Is there any way to do this, manually or automatically, other than deleting them one-by-one?
Is there an API for deleting them?
messages
I would like to remove old Messages threads. Is there any way to do this, manually or automatically, other than deleting them one-by-one?
Is there an API for deleting them?
I found a sort of solution to this bug. What I did is write an AppleScript which tells Messages to connect all accounts when one of the accounts successfully connects. I use Messages with Gmail, Yahoo and Bonjour, so when either of those connects, it "tells" all other accounts to connect. It's not failure-proof, but it seems to keep my accounts online properly so far.
using terms from application "Messages"
on login finished for theService
log in service "Yahoo!"
log in service "Gmail"
log in service "Bonjour"
end login finished
end using terms from
Usage instructions:
N.B.
For the line containing log in service "<service>"
you will need to replace <service>
with the value you find in the Description field for that particular service in Messages’ account preferences. In my case my Yahoo! account had ”Yahoo” in its description field so I had to change log in service "Yahoo!"
to log in service "Yahoo"
. Ditto for the other services.
Here are the instructions for Messages and Gmail.
Backing up Gmail / Any or All of your Google Products Data
Google Takeout: The simplest of the backup snapshot offerings is the one provided by Google: Google Takeout. From your Google settings, you can export just about all of your Google data, across all your Google applications. Google Takeout dumps the data either into your Google Drive or lets you download a pile of ZIP files. It's easy, comprehensive, and free.
Create an archive with your data from any or all of your Google products. https://takeout.google.com/settings/takeout
Locate your Messages archive
Type in ~/Library/Messages
You should see two folders: Archive and Attachments along with a file database labeled "chat.db".
Archive holds all your past messages from conversations that you've closed or saved; Attachments holds all the images and video from those conversations. The chat.db holds all the information from your active message history.
Archived conversations are labeled pretty clearly: They're all in folders labeled by date closed, and individual files give you the name of the participant along with the date and time. Open one, and you'll see the conversation pop up in Messages.
You can't edit, search, or export conversations to a different format, but you can copy and paste sentences and load it through the Messages App while having an archive.
Best Answer
It's in Messages Prefs, though it doesn't have much in the way of granularity…
Drop menu artificially floated away for clarity.