lotus notes - LotusNotes How to select and delete a few line with lotusscript -
how can selcted few line in mail service ? 13 lines @command([editselectall]) total mail service selected
i need 13 first line selected , after create import file position.
ex : mail service response
bla
bla
bla
bla
@ dsfadf (hier begin ori mail service )
@ safdsf
@ asdfasd
@ fasdf
i delete bla bla string , not >sdfas possible ?
ex: -> @command([editdown]; 4 ) ;
@command([selectonly]; 4 );
@command([editclear]);
thanks in advence...
patrick
you need utilize lotusscript that. if formatting not matter, can utilize regular string handling. utilize getunformattedtext method of notesrichtextitem class contents of mail service body plain text. just instr(), strleft(), strright(), mid$() etc parse content.
if want maintain formatted text is, need utilize richtext classes total out. can @ code mailmerge class posted while back, should able utilize of same methods search contents in mail service content: http://blog.texasswede.com/code-mail-mergeform-letters-in-lotuscript/
lotus-notes lotusscript
No comments:
Post a Comment