I'd like to export my iMessages logs into text files that can be read by people without the iMessages app. Simply opening the .ichat files in a text editor includes a bunch of additional strings and hashes. Opening them in iMessages and copy-pasting into a text editor works, but I'd prefer to automate the process if possible.
|
If you are familiar with sqlite, you can just export the messages directly from the database on Mountain Lion iMessage. sqlite3 /Users/(username)/Library/Messages/chat.db From the database, you can send sql commands to get any and all messages and associated fields you have interest. Further, you can change the output settings to write directly to a file. Also, in addition to the database, all photos are stored in the Attachments folder. |
|||
|
|
|
This wouldn't be a perfect solution, but I notice that the messages are always between |
|||
|
|
|
If you select print from the file menus, when the print box opens in the lower left is a pdf button with a drop down. From here you can save as pdf, post script, mail as pdf or send to iTunes. |
|||
|
|
