Re[2]: Countdown Clock for signature???
Hello Carsten, THANKS! It works great! :) There are 177 days till our trip to Disney! Is there any way to change the order of the display of Quick Templates? Now I have all the date diff QTs at the top and the ones I use every day moved to the bottom. Anyone? Fred - [EMAIL PROTECTED] On Tuesday, March 18, 2003, 12:27:30 PM, Carsten wrote: CT At least this first QT is a little different from the one you can CT find on http://www.immer-international.de/tb_en/index.html#date_diff CT IIRC the problem with the old version posted by Gerd was that The CT Bat! would crash on an empty %Comment string. -- Using The Bat! v1.62 Christmas Edition on Windows 98 4.10 Build 1998 Current version is 1.62 | Using TBUDL information: http://www.silverstones.com/thebat/TBUDLInfo.html
Re: Countdown Clock for signature???
Hallo Newsacct, On Wed, 19 Mar 2003 08:50:26 -0500GMT (19-3-03, 14:50 +0100, where I live), you wrote: N Is there any way to change the order of the display of N Quick Templates? Now I have all the date diff QTs at the top and N the ones I use every day moved to the bottom. Anyone? As the quick templates are sorted alphabetically, the solution to your problem is easy. Rename them to sometjig that starts with a 'z'. (That means you've got to edit the templates that call them too.) -- Groetjes, Roelof Current version is 1.62 | Using TBUDL information: http://www.silverstones.com/thebat/TBUDLInfo.html
Re: Countdown Clock for signature???
* Gerd Ewald [EMAIL PROTECTED] writes: Good evening Newsacct ! I was hoping all you experts with the templates and regular expressions could help me figure out how to do a countdown clock in my signature. In this case, we are going to Disney in September and I want to say something like, 144 days, 12 hours, 34 minutes till we leave for Disney! Well, I can't provide counting hours, but I wrote something about counting down days: ,-- [ [EMAIL PROTECTED] ] | ok, here we go: there is a set of macros you need to get the days | counted. I didn't write these (Carsten, was it you?) nevertheless it | counts days in the future but it also works on past events. | | 1. QT datediff | | %If:_%Comment_=_%Date='mmdd'_:%- | _%comment=a%Comment%-b%Date='mmdd'c0;_:%- | _%comment=a%date='mmdd'b%Comment%c0;_%- | %qinclude=datediff_r%- | %comment= | [...] At least this first QT is a little different from the one you can find on http://www.immer-international.de/tb_en/index.html#date_diff IIRC the problem with the old version posted by Gerd was that The Bat! would crash on an empty %Comment string. -- Gruß, Carsten Current version is 1.62 | Using TBUDL information: http://www.silverstones.com/thebat/TBUDLInfo.html
Re: Countdown Clock for signature???
Good evening Peter Meyns ! On Tue, 4 Mar 2003 22:56:20 +0100 GMT your local time, which was 04.03.2003, 22:56 (GMT+0100) where I live, you (Peter Meyns) wrote in mid:[EMAIL PROTECTED]: Wow, that's a lot of stuff. Too much for me to understand and too much for TBUDL perhaps? TBTECH might be the better place... *s* You are perfectly right. That is why I answered, but didn't explain (although I am afraid, I couldn't anyway). And furthermore, I couldn't assume that Newsacct is TBTECH-member. *gg* -- Best regards, Gerd === Tutorial for using regular expressions with TheBat! www.regenechsen.de --- Abstinence is a good thing if practiced in moderation --- now playing: WDR2 :-) Current version is 1.62 | Using TBUDL information: http://www.silverstones.com/thebat/TBUDLInfo.html
Re[2]: Countdown Clock for signature???
Hello Gerd, My name is Fred and, no, I'm not a TBTECH member. :) Thanks! Fred Wednesday, March 5, 2003, 12:22:40 PM, you wrote: GE You are perfectly right. That is why I answered, but didn't explain GE (although I am afraid, I couldn't anyway). And furthermore, I couldn't GE assume that Newsacct is TBTECH-member. *gg* Current version is 1.62 | Using TBUDL information: http://www.silverstones.com/thebat/TBUDLInfo.html
Countdown Clock for signature???
I was hoping all you experts with the templates and regular expressions could help me figure out how to do a countdown clock in my signature. In this case, we are going to Disney in September and I want to say something like, 144 days, 12 hours, 34 minutes till we leave for Disney! Is this even possible? Inquiry minds ah forget it. :) Thanks in advance!! Fred Current version is 1.62 | Using TBUDL information: http://www.silverstones.com/thebat/TBUDLInfo.html
Re: Countdown Clock for signature???
Good evening Newsacct ! On Tue, 4 Mar 2003 15:54:44 -0500 GMT your local time, which was 04.03.2003, 21:54 (GMT+0100) where I live, you (Newsacct Newsacct) wrote in mid:[EMAIL PROTECTED]: I was hoping all you experts with the templates and regular expressions could help me figure out how to do a countdown clock in my signature. In this case, we are going to Disney in September and I want to say something like, 144 days, 12 hours, 34 minutes till we leave for Disney! Well, I can't provide counting hours, but I wrote something about counting down days: ,-- [ [EMAIL PROTECTED] ] | ok, here we go: there is a set of macros you need to get the days | counted. I didn't write these (Carsten, was it you?) nevertheless it | counts days in the future but it also works on past events. | | 1. QT datediff | | %If:_%Comment_=_%Date='mmdd'_:%- | _%comment=a%Comment%-b%Date='mmdd'c0;_:%- | _%comment=a%date='mmdd'b%Comment%c0;_%- | %qinclude=datediff_r%- | %comment= | | | 2. QT datediff_addmonth | | %If:%SetPattRegexp='b(..)'%RegexpMatch='%Comment'=12:%- | %Calc=!%SetPattRegexp='b()'%RegexpMatch='%Comment'+1!:%- | %SetPattRegexp='b()'%RegexpMatch='%Comment'%- | %If:%SetPattRegexp='b(..)'%RegexpMatch='%Comment'=01:02%- | %If:%SetPattRegexp='b(..)'%RegexpMatch='%Comment'=02:03%- | %If:%SetPattRegexp='b(..)'%RegexpMatch='%Comment'=03:04%- | %If:%SetPattRegexp='b(..)'%RegexpMatch='%Comment'=04:05%- | %If:%SetPattRegexp='b(..)'%RegexpMatch='%Comment'=05:06%- | %If:%SetPattRegexp='b(..)'%RegexpMatch='%Comment'=06:07%- | %If:%SetPattRegexp='b(..)'%RegexpMatch='%Comment'=07:08%- | %If:%SetPattRegexp='b(..)'%RegexpMatch='%Comment'=08:09%- | %If:%SetPattRegexp='b(..)'%RegexpMatch='%Comment'=09:10%- | %If:%SetPattRegexp='b(..)'%RegexpMatch='%Comment'=10:11%- | %If:%SetPattRegexp='b(..)'%RegexpMatch='%Comment'=11:12%- | %If:%SetPattRegexp='b(..)'%RegexpMatch='%Comment'=12:01%- | %SetPattRegexp='b..(..)'%RegexpMatch='%Comment' | | | 3. QT: datediff_days | | %If:%SetPattRegexp='b(..)'%RegexpMatch='%Comment'=01:31%- | %If:%SetPattRegexp='b(..)'%RegexpMatch='%Comment'=03:31%- | %If:%SetPattRegexp='b(..)'%RegexpMatch='%Comment'=04:30%- | %If:%SetPattRegexp='b(..)'%RegexpMatch='%Comment'=05:31%- | %If:%SetPattRegexp='b(..)'%RegexpMatch='%Comment'=06:30%- | %If:%SetPattRegexp='b(..)'%RegexpMatch='%Comment'=07:31%- | %If:%SetPattRegexp='b(..)'%RegexpMatch='%Comment'=08:31%- | %If:%SetPattRegexp='b(..)'%RegexpMatch='%Comment'=09:30%- | %If:%SetPattRegexp='b(..)'%RegexpMatch='%Comment'=10:31%- | %If:%SetPattRegexp='b(..)'%RegexpMatch='%Comment'=11:30%- | %If:%SetPattRegexp='b(..)'%RegexpMatch='%Comment'=12:31%- | %If:%SetPattRegexp='b(..)'%RegexpMatch='%Comment'=02:%- | %If:_%SetPattRegexp=$\D$%RegexpMatch=$%- | %Calc=#%SetPattRegexp='b()'%RegexpMatch='%Comment'/4#$_=__:%- | _%If:#%SetPattRegexp='b..(..)'%RegexpMatch='%Comment'#=#00#:%- | #%If:~%SetPattRegexp='b(28|24|20|16|12|08|04|00)'%- | %RegexpMatch='%Comment'~~~:~29~:~28~#:%- | #29#_:_28_ | | | 4. QT: datediff_r | | %REM=Test, ist MM der beiden Datumswerte identisch?%- | %IF:%- | %SetPattRegexp='a(..)'%RegexpMatch='%Comment'=%- | %SetPattRegexp='b(..)'%RegexpMatch='%Comment'%- | :%- | %Rem='Tage addieren/subtrahieren'%- | %Calc=_%- | %SetPattRegexp='c(.*?);'%RegexpMatch='%Comment'%- | +%SetPattRegexp='a..(..)'%RegexpMatch='%Comment'%- | -%SetPattRegexp='b..(..)'%RegexpMatch='%Comment'_%- | :%- | %Rem='Monate in Tage umrechnen'%- | %Comment='%SetPattRegexp=_(a.*b)_%RegExpMatch=_%Comment_%- | %QInclude=!datediff_addmonth!%- | c%Calc=!%QInclude=#datediff_days# + %SetPattRegexp=_c(.*?);_%RegexpMatch=_%Comment_!;'%- | %QInclude=!datediff_r!%- | | | | 5. QT: Differenz | | %Comment=20020101%- | Since %Qinclude=datediff days we are a couple | '-- HTH -- Best regards, Gerd === Tutorial for using regular expressions with TheBat! www.regenechsen.de --- Reading is sometimes an ingenious device for avoiding thought. --- now playing: WDR2 :-) Current version is 1.62 | Using TBUDL information: http://www.silverstones.com/thebat/TBUDLInfo.html
Re: Countdown Clock for signature???
Hi Gerd, on Tue, 4 Mar 2003 22:46:04 +0100GMT (04.03.03, 22:46 +0100GMT here), you wrote in mid:[EMAIL PROTECTED] : GE Well, I can't provide counting hours, but I wrote something about GE counting down days: GE ,-- [ [EMAIL PROTECTED] ] Wow, that's a lot of stuff. Too much for me to understand and too much for TBUDL perhaps? TBTECH might be the better place... *s* -- Cheers Peter Don't humanize computers. They hate that! Winamp currently playing: Art of Noise - Moments in Love Current version is 1.62 | Using TBUDL information: http://www.silverstones.com/thebat/TBUDLInfo.html