Hello Peter,

old message...
PP> Hello Michael,

PP> On Monday, October 18, 2004 at 5:41:17 PM Michael [MLW] wrote:

PP> [example]

MLW>> Everywhere there is a %_1, I can put a number of hours to report on.
MLW>> I currently use it like this:

MLW>> %QT("spamcounthours",24)

MLW>> and it works just fine.  I would like a way where I can put the hours
MLW>> it before the message is sent, or put the hours in and press
MLW>> ctrl-space and see an update.

PP> Ahhh, OK.
PP> Beside the "%InputBox" macro, which surely provides a working and
PP> reliable solution, you could make use of '%Clipboard' macro:

PP> write '12', select it, copy to clipboard, overwrite it with QT name,
PP> hit <Ctrl>+<Space> and let your invoking QT be like this:

PP> ,----- [  ]
PP> %SetPattRegExp="(\d+)"%-
PP> %_num='%RegExpMatch(%ClipBoard)'%-
PP> %If:%_num=="":%_num="24":""%-
PP> %%QT("spamcounthours", %_num)
PP> `-----

PP> This can, for sure, be even simplified ... somehow. But it's a quick
PP> and dirty solution if one get's annoyed by an InputBox popping up on
PP> every reply or new message :-)

My reply...

I will never, ever tell anyone on this list or any other TB list about
how much spam I get or what version of BayesIT I have.  Fear not


-- 

Attachment: pgpKkDqIjexEu.pgp
Description: PGP signature

________________________________________________
Current version is 3.0.1.33 | 'Using TBUDL' information:
http://www.silverstones.com/thebat/TBUDLInfo.html

Reply via email to