summaryrefslogtreecommitdiff
path: root/msg_export.txt
blob: 114b2b736828e6265b840c0c07fb6d7ba91ede1c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
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 <Nick>.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.