I always used to save my Chat logs because I use IM in the professional environment. Now I find that I can’t save chat logs anymore. That option is gone. Is there any workaround or hidden preference to enable saving chat logs again?
In Preferences, select Messages and check "Save history when conversations are closed." Now when you quit Messages, it will create a collection of chat transcripts. You can easily access these in your Library folder. From Finder, select Go>Go to Folder and type:
~/Library/Messages/Archive. If you are on Mavericks or Yosemite, the location is
~/Library/Containers/com.apple.iChat/Data/Library/Messages. This will take you directly to the appropriate folder.
Please note that the new location for logs in Mavericks is
~/Library/Containers/com.apple.iChat/Data/Library/Messages (yes, even though the app is called Messages, the container is called iChat).
This appears to be a way of replicating the way that apps like iMessages work on iOS -- Messages gets its own
Library folder with its own dedicated hierarchy of files.
I had the same problem.
On my machine I resolved the problem by removing the Archive link. Open Messages and send a message. Close Messages. This should now create the Archive folder. I copied my older chats to this new Archive folder, and everything worked for me.
cp -r /Users//Documents/iChats/ /Users//Library/Containers/com.apple.ichat/Data/Library/Messages/Archive
If you want the easiest, most foolproof way to do this with the most flexible format WITH images/videos/gifs/emoji/allthethings, follow along. This method contains absolutely zero automation, so even your hip grandma can follow along.
- Open the Messages app
- Open the conversation you want to copy and keep scrolling to the top to load more of the conversation until you've loaded all that you want.
- Select all (Cmd+A)
- Copy (Cmd+C)
- Open TextEdit and start a New Document
- Paste (Cmd+V)
As you can see, all of the text and media are there, and you can edit it like any word file. Want it as a PDF? Just Export to PDF, and it won't even break pages in the middle of images and stuff (as would printing to PDF from the Messages app). Make sure you save this file somewhere before proceeding to the extra step below: resizing photos.
If your transcript contains gargantuan 3648x2736 images like mine do, you're going to want to reduce their size to fit in the document. This is simple: the image data is saved as part of the document. So, just...
- Double-click the image you want to reduce to open it in Preview
- Once in Preview, select (from the menu bar) Tools > Adjust Size
- By default, the Width value is selected and the dimensions are constrained (meaning changing one will adjust the other to keep it in the current Height/Width ratio) as depicted by the little locked padlock icon nearby. Enter a more sane value; I like to go with 640x480 for my images. If you're savvy, move to step 4. If you have no idea what value to enter... First make sure the little padlock icon is 'locked'. If it isn't, click on it and it should become locked. Next, select the larger of the two values (double-clicking on it will fully select), delete the value, and then enter 640. Press ENTER or click the OK button at the bottom.
- Your image should now be reduced in size, and you can close the window (Cmd+W), quit (Cmd+Q), or whatever (Cmd+????????)
- You should be back in your text document and the image size will have updated. Note: The one anything thing here is that TextEdit likes to scroll you all the way to the top of the document. Them's the breaks.
There you have it. Chat transcript archived like a boss.