Re: TB! V1.54 Beta/15 - SINGLELINE
Hello Januk. At 10:57 PM on Saturday, December 08, 2001 you wrote the following on the posted subject 'TB! V1.54 Beta/15 - SINGLELINE': Januk %SETPATTREGEXP=(?is-m)^.*?\n(.*)$%- Januk %REGEXPMATCH=%Clipboard Januk Of course, for all this work, you might as well Januk delete the line manually and just insert the new Januk greeting by QT. Agreed. J The purpose is to build a QT that will manually delete a J greeting line as in 'Hello TBUDListers. replace it J with a time-of-day greeting as in Good morning J TBUDListers. Januk Are the time specific messages only occasionally, [...] Yes, only occasionally because I sometimes find it much to formal to put into a general template. -- Jan Rifkinson Ridgefield, CT USA TB! V1.54 Beta/15/W2K_SP2/PGP Key ID: 0x3F14A060 ICQ 41116329 -- Archives : http://tbudl.thebat.dutaint.com Moderators : mailto:[EMAIL PROTECTED] TBTech List: mailto:[EMAIL PROTECTED] Unsubscribe: mailto:[EMAIL PROTECTED] Latest Vers: 1.53d FAQ: http://faq.thebat.dutaint.com
Re: TB! V1.54 Beta/15 - SINGLELINE
Hello jan, Historians believe that Saturday, December 8, 2001 at 08:05 GMT -0500 was when, [EMAIL PROTECTED] [J] typed the following: JIs there a way to use the SINGLELINE macro to construct a JQT that deletes just one line. Not that I know of. It should be a pretty easy with a regular expression, but there aren't any macros to access the current message's text. A work around would be to select the entire message body (Ctrl-A) and put it into the clipboard (Ctrl-C). Then run the following quick template: %SETPATTREGEXP=(?is-m)^.*?\n(.*)$%- %REGEXPMATCH=%Clipboard Of course, for all this work, you might as well delete the line manually and just insert the new greeting by QT. JThe purpose is to build a QT that will manually delete a Jgreeting line as in 'Hello TBUDListers. replace it Jwith a time-of-day greeting as in Good morning JTBUDListers. Are the time specific messages only occasionally, or do you want it for all messages served by the main template? If it is the second, why not change your main template to use the correct greeting rather than replacing it later? -- Thanks for writing, Januk Aggarwal Using The Bat! 1.54 Beta/15 under Windows 98 4.10 Build 67766446 A I have an imaginary friend who refuses to play with me. -- Archives : http://tbudl.thebat.dutaint.com Moderators : mailto:[EMAIL PROTECTED] TBTech List: mailto:[EMAIL PROTECTED] Unsubscribe: mailto:[EMAIL PROTECTED] Latest Vers: 1.53d FAQ: http://faq.thebat.dutaint.com
Re: TB! V1.54 Beta/15 - SINGLELINE
Hello Januk, On Sat, 8 Dec 2001 19:57:53 -0800 GMT (09/12/2001, 11:57 +0800 GMT), Januk Aggarwal wrote: JA %SETPATTREGEXP=(?is-m)^.*?\n(.*)$%- JA %REGEXPMATCH=%Clipboard JA Of course, for all this work, you might as well delete the line JA manually and just insert the new greeting by QT. Check this out: It simplifiees the equasion 1+1=2. The words are in German but the gist should still be clear for people who understand math formulas but don't speak German: http://www.fh-merseburg.de/~freyerfa/daniel/witze/stud/mathe.htm -- Cheers, Thomas. Moderator der deutschen The Bat! Beginner Liste. Bei Vollmond spricht man nicht. Message reply created with The Bat! 1.54/10 under Chinese Windows 98 4.10 Build A using an AMD Athlon K7 1.2GHz, 128MB RAM -- Archives : http://tbudl.thebat.dutaint.com Moderators : mailto:[EMAIL PROTECTED] TBTech List: mailto:[EMAIL PROTECTED] Unsubscribe: mailto:[EMAIL PROTECTED] Latest Vers: 1.53d FAQ: http://faq.thebat.dutaint.com