need macro
Hi all, I need macro for this, I think it is quite useful for us all. When I reply to message, I use this style: ororiginal message text ororiginal message text2 my reply ororiginal message text3 ororiginal message text4 my reply 2 and so on. I know, it should be like this: ororiginal message text ororiginal message text2 my reply ororiginal message text3 ororiginal message text4 my reply 2 So I need macro which put 1 enter before my first line of reply after quoted original message. I think it is possible, but don't know how :) thanks :) -- --+ +-- +- WEB: www.2ge.skMail: [EMAIL PROTECTED] +--+ | - +--IRC: _2ge_ (ircnet)ICQ UIN: 7552083 ++==+=+- The Bat! 1.54 Beta/49 on Windows 2000 2195.Service Pack 25.0 Captain, I believe your friend Stinky has arrived - Ivanova __ Archives : http://tbtech.thebat.dutaint.com Moderators : mailto:[EMAIL PROTECTED] Unsubscribe: mailto:[EMAIL PROTECTED]
Re: need macro
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Brano, @30 April 2002, 13:27:47 +0200 (12:27 UK time) Brano wrote in [EMAIL PROTECTED]">mid:[EMAIL PROTECTED] ororiginal message text ororiginal message text2 my reply and so on. I know, it should be like this: ororiginal message text ororiginal message text2 my reply So I need macro which put 1 enter before my first line of reply after quoted original message. I think it is possible, but don't know how :) Forgive me for being glib here, but there is no macro or quick template or any other thing that will be as quick and easy as pressing Enter one more time... :-/ Macros are only automatically triggered in generating the basic reply format. Once you are into editing the reply, the only ways to invoke a macro is 1) though the right click or utilities menus or 2) by using (macro handle) Ctrl-Space. Neither of these methods are as quick as simply pressing Enter. - -- Cheers -- .\\arck D. Pearlstone -- List moderator SB! v1.60d/iKey1000-5523848F0B1 on Windows 2000 5.0.2195 Service Pack 2 · -BEGIN PGP SIGNATURE- iD8DBQE8zoMzOeQkq5KdzaARAn8cAJwN2FUycJgR48zWAGJwR7wJH8EKxgCfcf82 xCbja9Gm03rlUYL8AM5gazQ= =n+UT -END PGP SIGNATURE- __ Archives : http://tbtech.thebat.dutaint.com Moderators : mailto:[EMAIL PROTECTED] Unsubscribe: mailto:[EMAIL PROTECTED]
Re[2]: need macro
Marck D Pearlstone [M], on Tuesday, April 30, 2002 at 12:42 (+0100) made these points in [EMAIL PROTECTED]">mid:[EMAIL PROTECTED] : M Macros are only automatically triggered in generating the basic reply M format. Once you are into editing the reply, the only ways to invoke a M macro is 1) though the right click or utilities menus or 2) by using M (macro handle) Ctrl-Space. Neither of these methods are as quick M as simply pressing Enter. and what about macro for filtering aoutgoing mail ? I think this way is possible...and maybe not. also I think, BAT developers should add another possibility for run macros: SELECT text in EDIT window, and macro will be executed only for that selected text. (no need to get it into clipboard, etc) -- --+ +-- +- WEB: www.2ge.skMail: [EMAIL PROTECTED] +--+ | - +--IRC: _2ge_ (ircnet)ICQ UIN: 7552083 ++==+=+- The Bat! 1.54 Beta/49 on Windows 2000 2195.Service Pack 25.0 Nervous: Asking which wine goes best with fingernails. __ Archives : http://tbtech.thebat.dutaint.com Moderators : mailto:[EMAIL PROTECTED] Unsubscribe: mailto:[EMAIL PROTECTED]
Re: need macro
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Brano, @30 April 2002, 15:03:01 +0200 (14:03 UK time) Brano wrote in [EMAIL PROTECTED]">mid:[EMAIL PROTECTED] and what about macro for filtering aoutgoing mail ? I think this way is possible...and maybe not. Not. Macros are only used in templates. Templates are only used during message creation, not filtering per-se. also I think, BAT developers should add another possibility for run macros: SELECT text in EDIT window, and macro will be executed only for that selected text. (no need to get it into clipboard, etc) An interesting suggestion.. one worthy of debate I think. My own opinion is that it wouldn't make much difference to me. It might need a %SELECTED and %OSELECTED macro (selected in the editor/selected in the original message text) to be fully useful. I don't know. It could always go into the Wish List traq database. - -- Cheers -- .\\arck D. Pearlstone -- List moderator SB! v1.60d/iKey1000-5523848F0B1 on Windows 2000 5.0.2195 Service Pack 2 · -BEGIN PGP SIGNATURE- iD8DBQE8zpokOeQkq5KdzaARAmatAKDFF1ElPp6isEJfGN50FuACIcRbYwCg9/IU PTT9ikXvDdp6KTmN5YyMU4g= =HMvJ -END PGP SIGNATURE- __ Archives : http://tbtech.thebat.dutaint.com Moderators : mailto:[EMAIL PROTECTED] Unsubscribe: mailto:[EMAIL PROTECTED]
Re: need macro
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Brano, @30 April 2002, 16:15:56 +0200 (15:15 UK time) Brano wrote in [EMAIL PROTECTED]">mid:[EMAIL PROTECTED] and what about macro for filtering aoutgoing mail ? I think this way is possible...and maybe not. M Not. Macros are only used in templates. Templates are only used during M message creation, not filtering per-se. what about exporting that message with some template (where regex are used) through filter and importing it back ? that could work :) Problem is importing it back...ok :) Not just... we're talking about a filter on an outgoing message. That is only applied when moving the *already sent* message from the Outbox to the Sent folder. It's already too late. - -- Cheers -- .\\arck D. Pearlstone -- List moderator SB! v1.60d/iKey1000-5523848F0B1 on Windows 2000 5.0.2195 Service Pack 2 · -BEGIN PGP SIGNATURE- iD8DBQE8zrFTOeQkq5KdzaARAhVSAJ91e0oCmJP41nmX4bPmJIfYTJZj5ACgp3AO nj6gbRuz9DS/sRqxOmhOdDw= =5Fls -END PGP SIGNATURE- __ Archives : http://tbtech.thebat.dutaint.com Moderators : mailto:[EMAIL PROTECTED] Unsubscribe: mailto:[EMAIL PROTECTED]
Re[2]: need macro
Marck D Pearlstone [M], on Tuesday, April 30, 2002 at 14:20 (+0100) thinks about in [EMAIL PROTECTED]">mid:[EMAIL PROTECTED] : M -BEGIN PGP SIGNED MESSAGE- M Hash: SHA1 M Hi Brano, M @30 April 2002, 15:03:01 +0200 (14:03 UK time) Brano wrote in M [EMAIL PROTECTED]">mid:[EMAIL PROTECTED] ... I have to delete these lines, exist something to automate that ? for deleting end I use: === %quotes='%SETPATTREGEXP=(.*)\n\n---|(.*)\n- --|(.*)%- %REGEXPBLINDMATCH=%text%- %SUBPATT=1 %SUBPATT=2 %SUBPATT=3' === but i need remove some lines from beggining. how to do it in 1 macro ? (I have extracted text thru regexp, that's ok. But how to process this text further ?) I tried something like this, but it doesn't work: %quotes=''%SETPATTREGEXP=(.*)\n\n---|(.*)\n- --|(.*)%- %REGEXPBLINDMATCH=%text%- %SETPATTREGEXP=(.*)%- %REGEXPBLINDMATCH=%SUBPATT='1' %SUBPATT='2' %SUBPATT='3' %SUBPATT=1'' -this is just try, how to work with regexp(regexp(text)) plz help -- --+ +-- +- WEB: www.2ge.skMail: [EMAIL PROTECTED] +--+ | - +--IRC: _2ge_ (ircnet)ICQ UIN: 7552083 ++==+=+- The Bat! 1.54 Beta/49 on Windows 2000 2195.Service Pack 25.0 Berman's Bible: Brian 10 Downing Street __ Archives : http://tbtech.thebat.dutaint.com Moderators : mailto:[EMAIL PROTECTED] Unsubscribe: mailto:[EMAIL PROTECTED]
Re: need macro
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Brano, @30 April 2002, 20:05:00 +0200 (19:05 UK time) Brano wrote in [EMAIL PROTECTED]">mid:[EMAIL PROTECTED] I have to delete these lines, exist something to automate that ? for deleting end I use: === %quotes='%SETPATTREGEXP=(.*)\n\n---|(.*)\n- --|(.*)%- %REGEXPBLINDMATCH=%text%- %SUBPATT=1 %SUBPATT=2 %SUBPATT=3' === but i need remove some lines from beggining. how to do it in 1 macro ? (I have extracted text thru regexp, that's ok. But how to process this text further ?) I tried something like this, but it doesn't work: %quotes=''%SETPATTREGEXP=(.*)\n\n---|(.*)\n- --|(.*)%- %REGEXPBLINDMATCH=%text%- %SETPATTREGEXP=(.*)%- %REGEXPBLINDMATCH=%SUBPATT='1' %SUBPATT='2' %SUBPATT='3' %SUBPATT=1'' -this is just try, how to work with regexp(regexp(text)) This looks like a Remove PGP signatures macro. Here's a generic quotes macro that I use. It removes all common prefixes and delimiters: %quotes='%SETPATTREGEXP=(?is)((\s*)?%- \n?-BEGIN PGP SIGNED.*?\n%- (Hash:.*?\n)?\s*)?(.*?)%- (\n(%- _{40,}\s*\n|%- (-\s)?--\s?\n|%- - -BEGIN PGP SIGNATURE.*\s?\n|%- - -+Original Message-+\n|%- \n-+ Yahoo Groups.*~--\)|%- \n+Get your FREE download|%- \z)%REGEXPBLINDMATCH=%text%SUBPATT=4' This one has been slightly suped up from the one on the FAQ essay on macros (or is it in the templates essay?). - -- Cheers -- .\\arck D. Pearlstone -- List moderator SB! v1.60d/iKey1000-5523848F0B1 on Windows 2000 5.0.2195 Service Pack 2 · -BEGIN PGP SIGNATURE- iD8DBQE8zuC/OeQkq5KdzaARAourAKDUcHNAdpHbR98TGTkFfyHNpX1spACfcqlz KMKI/mFf+6RLNF3vxAcjdW4= =5WHO -END PGP SIGNATURE- __ Archives : http://tbtech.thebat.dutaint.com Moderators : mailto:[EMAIL PROTECTED] Unsubscribe: mailto:[EMAIL PROTECTED]
Re: Need macro
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 @ 16:16:34 +0700 [ Wed, 20 Mar 2002], Han'S [H] thoughtfully wrote the following: ... H I want create template with RegExp : 'Tue, 19 Mar 2002 00:43:19 PM H (or AM)', any body help me ? Shoot. They're many here who should be able to help you. Afterall, I just saw a long regex template posted here to create ROT13 encoded messages. :-) - -- Allie C Martin -- List Moderator PGPKey - mailto:[EMAIL PROTECTED] ___ [MUA: TB! v1.54 RC/1 (*) OS: Windows XP 5.1.2600] ¯¯ -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6-2 (MingW32) iEYEARECAAYFAjyYaYIACgkQV8nrYCsHF+JS9wCfV4RPvKaBgklI8kSOe8pfF4LV NQ8AoIkQOcWHas31+88ebxcwWr5Xp//1 =XaIQ -END PGP SIGNATURE- -- __ Archives : http://tbtech.thebat.dutaint.com Moderators : mailto:[EMAIL PROTECTED] Unsubscribe: mailto:[EMAIL PROTECTED]
Re: Need macro
Hello Han's, On Wednesday, March 20, 2002 at 10:16:34 AM you wrote in msgid:[EMAIL PROTECTED] (at least in part): Hs I want create template with RegExp : 'Tue, 19 Mar 2002 00:43:19 PM (or Hs AM)', any body help me ? Here's the most easy version: %TEMPLATE=%SETPATTREGEXP='Tue, 19 Mar 2002 00:43:19 PM \(or AM\)' This way you'll have created a 'TEMPLATE' and used a 'RegExp' inside :-) But I can't find any use for this :-) So maybe you'd better try to explain to us: - What is the goal of this template? - WHAT exactly you want to match with the RegExp? A date in the given syntax? - What is the expected output after a match is found? -- Regards Peter Palmreuthermailto:[EMAIL PROTECTED] (The Bat! v1.54 RC/1 on Windows 2000 5.0 Build 2195 Service Pack 2) The world is coming to an end - save your buffers! __ Archives : http://tbtech.thebat.dutaint.com Moderators : mailto:[EMAIL PROTECTED] Unsubscribe: mailto:[EMAIL PROTECTED]
Re[2]: Need macro
Hello Peter, Wednesday, March 20, 2002, 10:43:11 PM, Peter Palmreuther [PP] wrote: ... PP syntax? PP - What is the expected output after a match is found? ok. ok. no problem, many thanks Peter and Allie... :( -- Best regards, Han's mailto:[EMAIL PROTECTED] __ Archives : http://tbtech.thebat.dutaint.com Moderators : mailto:[EMAIL PROTECTED] Unsubscribe: mailto:[EMAIL PROTECTED]
Re: Need macro
Hello Han's, On Wednesday, March 20, 2002 at 5:03:15 PM you wrote in msgid:[EMAIL PROTECTED] (at least in part): Hs ok. ok. no problem, many thanks Peter and Allie... :( ?!? we don't have to understand this, don't we? -- Regards Peter Palmreuthermailto:[EMAIL PROTECTED] (The Bat! v1.54 RC/1 on Windows 2000 5.0 Build 2195 Service Pack 2) One if by land, two if by stupid. - Tom Servo __ Archives : http://tbtech.thebat.dutaint.com Moderators : mailto:[EMAIL PROTECTED] Unsubscribe: mailto:[EMAIL PROTECTED]
Re[3]: Need macro
Hi Han's, On Wednesday, March 20, 2002 at 23:03:15 [GMT +0700], you wrote: Hs ok. ok. no problem, many thanks Peter and Allie... :( Well, I think you misunderstood. Peter wanted to help you. And so do others who read this list. But you should give us a bit more information. TB can do a lot of things, but it can't give us the ability to read your mind. -- Regards, Lars The Bat! 1.54 RC/1 on Windows XP 5.1 Build 2600 |Lars Geiger | mailto:[EMAIL PROTECTED]| __ Archives : http://tbtech.thebat.dutaint.com Moderators : mailto:[EMAIL PROTECTED] Unsubscribe: mailto:[EMAIL PROTECTED]
Re: Need macro
On Wednesday, March 20, 2002, 10:43:31 AM, Lars Geiger wrote: Hi Han's, On Wednesday, March 20, 2002 at 23:03:15 [GMT +0700], you wrote: Hs ok. ok. no problem, many thanks Peter and Allie... :( Well, I think you misunderstood. Peter wanted to help you. And so do others who read this list. But you should give us a bit more information. TB can do a lot of things, but it can't give us the ability to read your mind. Correct me if I'm wrong, but I think there is no such thing as 00:43:19 PM (or AM) which doesn't make thinking about an answer any easier -- Dwight A. Corrin P O Box 47828 Wichita KS 67201-7828 316.263.9706 fax 316.263.6385 mailto:[EMAIL PROTECTED] Using The Bat! 1.54 RC/1 on Windows XP version 5,1 __ Archives : http://tbtech.thebat.dutaint.com Moderators : mailto:[EMAIL PROTECTED] Unsubscribe: mailto:[EMAIL PROTECTED]