From eb1a49653f9dc3fde2f3b631c537b69a6db729a2 Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Sun, 16 Oct 2011 13:06:27 +0300 Subject: msg_export plugin --- msg_export.txt | 200 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 200 insertions(+) create mode 100755 msg_export.txt (limited to 'msg_export.txt') diff --git a/msg_export.txt b/msg_export.txt new file mode 100755 index 0000000..114b2b7 --- /dev/null +++ b/msg_export.txt @@ -0,0 +1,200 @@ +Description + Exports every message, URL or File you receive to a text file. + Messages are exported to one file per user. New messages are + exported when you receive them. Can be used as history management. + + Features: + -Export all or some of your current history + -Set individual files per user + -Set the time format/ column width + -Open history file for a user from Miranda. + -Use internal or external File Viewer + -File change detection / reload + -File name change detection. + -Font and background color selection. + + Send bug reports, comments and Suggestions to: Kennet_N@ofir.dk. + +Export directory + The path your messages will be exported to. + You can write a complete path or you can use %dbpath% which is the + ProfileDir= from your mirandaboot.ini. + You can also use all the variables ( %..% ) from Default File. + The "Default File" or the file from "User list" will be joined together + with the "Export directory" to form the complete file path. + + Default: %dbpath%\MsgExport\ + +Browse + This will open a "Browse for a folder" where you can select the + Export directory. + see Export directory for details. + +Default File + This sets the default file name which will be used if you do not + specify another on in the User list. + You can use + %nick% Nick you are received from or sending to. + %UIN% UIN you are received from or sending to. + %group% The group you have put the user in. + %e-mail% The users E-mail address. + %protocol% The protocol which the user is using. + %identifier% This is a protocol specific variable. + If it is an ICQ user it will be UIN. + If it is a MSN user it will be e-mail. + If it is a Jabber user Jabber ID is used. + When %UIN% or %e-mail% can nor be found %nick% is used. + + The following variables do not cause the file name change notification + %year% The current year as a 4 digit number + %month% The current month as a 2 digit number + %day% The current day as a 2 digit number + %hour% The current day as a 2 digit number + + Default: %nick%.txt + +Max column width + This is the maximum line width that will be written to the file. + If you receive a message which has a longer line the line will + be broken up in 2 or more lines. + + Default: 80 + +Time format + Here you can set the format of the time column in the export file. + The time column is the one after the user. + You can use: + t Time without seconds, e.g. hh:mm + s Time with seconds, e.g. hh:mm:ss + m Time without minutes, e.g. hh + d Short date, e.g. dd/mm/yyyy + D Long date, e.g. d mmmm yyyy + + If you write any other characters they will simply be copied over. + So you may use "d t :" if you like to add a ":" before the message. + + Default: "d s" + +Replace miranda history + This option allows you to make the msg_export File Viewer you default + miranda history viewer. If you do not set this option msg_export will + create a new menu item to view the exported text file. + + Default: Not checked + +Use internal viewer + If you set this option msg_export will use its own File Viewer to + open the history file's. If you do not set it it will use the program + you have associated with *.txt files + + Default: Checked + +External file viewer + Here you can set the program you which to use to view your history files + If you set the path to en empty string the explorer default will be + used, this is just like double clicking the file in your explorer. + The program that you choose will be lunched with the file as the first + parameter. + + Default: + +Use UTF8 in new files + This option allows you to select the file format you wish message export + to use. When this option is enabled new files created will use Unicode + Transformation Format 8. When used with the Unicode version of Miranda + you can store Unicode in the text files. + When the option is not enabled files are stored in ANSI format. + UTF8 file format allows you to move the file to a PC with a different + code page and the text will still be displayed right. + Message export always read what format a file is before exporting and + will use the same format again. To convert an existing file to use UTF8 + you can open it in Notepad and save it as UTF8. + +Append extra new line + If this option is checked every message exported will have en extra new + line between them. + + Default: Checked + +Use << and >> + If this option is checked << and >> will be used instead of "your nick" + and "receiver nick" in the exported format. + + Default: Not checked + +User list + This is a list of your users. + Here you can set which file you would like to export to. + If you do not set any file the default .txt will be used. + If you remove the check in the checkbox no export will be made. + +Auto filename + This will try to find accounts in your user list which is the same + person. + Some people have multiply accounts on different networks or one at + work (nick@work) and one at home (nick). + Normally these two accounts would become 2 different files. + If you set the (nick@work) to use the (nick) file, events from both + accounts will be written to the same file, creating a single file with + all your message history from that person. + It will not replace any filenames that is already set! + +Clear all + This will clear all the file's you have entered in the User list. + +Export all history + This will export all your history from the database. + You will only need to activate this function after you have installed + this plugin or if you change the export directory or format. + Note that all events will simply be added to the current files even if + the event is already in the file. + Important ! + Exported events will be sorted according to the time you received them, + therefore the order may NOT be the same as when you look in the + history in Miranda. + The history in Miranda may be in incorrect order if the original + messages come from the AOL's ICQ. This is my experience. + +When filename changes + This sets the action that msg_export will take when it detects that a + file has been renamed. You can choose between + -Prompt for action: This will show a dialog every time + -Rename file: This will automatically rename the file every time + -Do nothing: This will ignore the event, resulting in multiply files + + Default: Prompt for action + +When user is deleted + This sets the action that msg_export will take when it detects that a + user has been deleted and that no other user is using the file the + deleted user was writing to. You can choose between + -Prompt for action: This will show a dialog every time. + -Delete file: This will automatically delete the file. + -Do nothing: This will ignore the event, resulting in an unused file. + + Default: Prompt for action + +Export Protocols + This is a list of your protocols. + If you remove the check in the checkbox no export will be made for that + protocol. + +########################################################################## +########################## File Viewer ########################### +########################################################################## + +Find... + Openens a standart search dialog box to search in the open file. + +External + This will open the Text File in the program you have associated with + *.txt files. + +Font... + This item is located in the system menu (Top left corner) it alows you to + change the font used in the file viewer. You can also set the Font + color. + +Color... + This item is located in the system menu (Top left corner) it alows you to + change the back ground color. \ No newline at end of file -- cgit v1.2.3