Call:

ac_save_messages_to_file(string filepath);


Writes the contents of the message box to filepath

Example.

Write the contents of the message box to c:\my_file.txt:

ac_save_messages_to_file("c:\\my_file.txt");


Notice the double backslash.

In C++ strings, the single backslash is used for service purposes. So you need to write a double slash in the lines, and the program will automatically remove one when executed.