Re: Macros (Regexp): Two questions.

2000-11-18 Thread Jan Rifkinson

Hi Brian,

  On Saturday, November 18, 2000 @ 07:07:39 -0500 you wrote
  the following in regards to Macros (Regexp): Two
  questions.:

BC> Can anyone tell me if there is a variable that holds just the initials
BC> (or whatever is chosen for the quoted text

   I am a new user as well but this functon I know about.
   Look @ the default reply template & you will see quote
   options for none, initials, first name, last name, first
   initial or full name.

BC> I've tried returning the value of %QUOTESTYLE but it's always empty. :\

When using %QUOTESTYLE you have to include a value such
as %QUOTESTYLE="I". You can find these values in help ->
find "quotestyle" yields "templates". Scroll down the
template values & you will find the %QUOTESTYLE values.

BC> [...] When I reply to a thread, the portions of the
BC> quoted text that are void of characters do not have the
BC> prefix in front of them. [...] Ie.:

If I understand this correctly, %QUOTESTYLE *will* add
the prefix to all lines of text that you select or all
text if you choose to reply to the entire post.

HTH
-- 
Jan Rifkinson
Ridgefield, CT USA
Reply to: [EMAIL PROTECTED]

PGP ID: 0x4C9CDF9D
And TB! 1.47 Halloween Edition

-- 
--
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
   
To Unsubscribe from TBUDL, double click here and send the message:
   
--

You are subscribed as : archive@jab.org





Re: Macros (Regexp): Two questions.

2000-11-18 Thread A . Curtis Martin

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sat, 18 Nov 2000 07:07:39 -0500, Brian Clark wrote these
comments about 'Macros (Regexp): Two questions.':

BC> I'm a new user; I'm waiting on my key to get mailed to me :-) and I
BC> must say this client rocks.

Indeed it does and welcome to TBBETA. :=)

BC> Can anyone tell me if there is a variable that holds just the initials
BC> (or whatever is chosen for the quoted text -- be it initials or first
BC> name, etc.). If I have Initials chosen, and I replied to my own e-mail,
BC> I'd get BC> for the quotes prefix.

Well, you can either do it globally via the account properties default
reply template properties or you can do it selectively with the
%Quotestyle macro.

BC> I've tried returning the value of %QUOTESTYLE but it's always empty.
BC> :\

Firstly, the %Quotestyle macro *must* precede the %quotes macro in your
reply template. If you place it after the %quotes macro, it will not
work.

The next, is that to produce initials, you use "I", i.e.,
%QUOTESTYLE="I"

See the help on this:

QUOTESTYLE=”expression” - specify the quotation sign prefix used after
this macro. Expression can be any of the following:

NONE - use an empty prefix (a standard)
I - use initials of the sender of the original message

IF - use the first initial of the sender of the
 original message

N - use the full name of the sender of the original message
F - use the first name of the sender of the original message
L - use the last name of the sender of the original message
=text - use the “text” as the prefix, e.g. %QUOTESTYLE=”=-|”


BC> I'm trying to get something along the lines of (when replying):

BC> (BC == "Brian Clark") [EMAIL PROTECTED] writes:

BC> To do that, I've been hacking various versions of this:

You don't need a regex macro to do that. :=)

- --
A. Curtis Martin  |  Moderator TBUDL/TBBETA
PGP Key: mailto:[EMAIL PROTECTED]?Subject=SendAlliePGPKey

"Marriage is one of the chief causes of divorce. "
_
TB! v1.48 Beta/6 (S/N CCA4F9B8) | Windows NT 5.00.2195 (Service Pack 1)

-BEGIN PGP SIGNATURE-
Version: PGP 6.5.8
Comment: Digitally signed for sender verification.

iQA/AwUBOhZ2L/AXeSHuB5k3EQJqbwCgvgpHGgNhF6/Z+rkGUzx9fRubU7MAn0Hm
gLP3JCr04luRSGjHFqbLthFZ
=JIq1
-END PGP SIGNATURE-

-- 
--
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
   
To Unsubscribe from TBUDL, double click here and send the message:
   
--

You are subscribed as : archive@jab.org





Re: Macros (Regexp): Two questions.

2000-11-18 Thread Brian Clark


( "A. Curtis Martin") [EMAIL PROTECTED] writes:

-- 

See what I mean..


ACM> On Sat, 18 Nov 2000 07:07:39 -0500, Brian Clark wrote these
ACM> comments about 'Macros (Regexp): Two questions.':

BC>> I'm a new user; I'm waiting on my key to get mailed to me :-) and I
BC>> must say this client rocks.

ACM> Indeed it does and welcome to TBBETA. :=)

Why beta? :-) You mean my client or this list? I noticed there was a
Beta list, but I thought this was the plain 'ol users' list..

Nevertheless, thanks!

BC>> Can anyone tell me if there is a variable that holds just the initials
BC>> (or whatever is chosen for the quoted text -- be it initials or first
BC>> name, etc.). If I have Initials chosen, and I replied to my own e-mail,
BC>> I'd get BC> for the quotes prefix.

ACM> Well, you can either do it globally via the account properties default
ACM> reply template properties or you can do it selectively with the
ACM> %Quotestyle macro.


Yep. That's where I've been modifying it (the global default reply),
but I have other custom ones already for specific people and the this
isn't even officially "registered" yet. Heheh.. Wondering when the key
is gonna get here..


BC>> I've tried returning the value of %QUOTESTYLE but it's always empty.
BC>> :\

ACM> Firstly, the %Quotestyle macro *must* precede the %quotes macro in your
ACM> reply template. If you place it after the %quotes macro, it will not
ACM> work.

Yep, I've tried that (see the first line of this mail), but it's void.

I figured *maybe* %Quotestyle would be set to the default (Ie. BC)
unless I modified it, but that wasn't the case. :\


ACM> The next, is that to produce initials, you use "I", i.e.,
ACM> %QUOTESTYLE="I"

Yep, done this, but I *do* I like the way TB! does the work. The thing
is that I don't know how to copy the prefix it uses in %Quotes into
the first line -- the (BC == "Brian Clark") part.

I've tried this, with no effect:

%QUOTESTYLE="I"
(%QUOTESTYLE == "%TONAME") %TOADDR writes:
%Cursor
%Quotes

And I've tried this:

(%QUOTESTYLE == "%TONAME") %TOADDR writes:
%Cursor
%Quotes


I also noticed that TB!'s initials it uses for users with no
"Firstname Lastname <[EMAIL PROTECTED]>" format, only
<[EMAIL PROTECTED]> is:

eac>

As in e = email, a = address, c = com

Which is about the point I said `to heck with this' and wanted to find
out where TB! stores it's values for %Quotes.


ACM> See the help on this:

ACM> QUOTESTYLE=”expression” - specify the quotation sign prefix used after
ACM> this macro. Expression can be any of the following:

ACM> NONE - use an empty prefix (a standard)
ACM> I - use initials of the sender of the original message

ACM> IF - use the first initial of the sender of the
ACM>  original message

ACM> N - use the full name of the sender of the original 
message
ACM> F - use the first name of the sender of the original 
message
ACM> L - use the last name of the sender of the original 
message
ACM> =text - use the “text” as the prefix, e.g. 
%QUOTESTYLE=”=-|”

BC>> I'm trying to get something along the lines of (when replying):
BC>> (BC == "Brian Clark") [EMAIL PROTECTED] writes: To do that,
BC>> I've been hacking various versions of this:

ACM> You don't need a regex macro to do that. :=)

Then let me know what works please... :-P

:-)

-Brian

-- 
--
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
   
To Unsubscribe from TBUDL, double click here and send the message:
   
--

You are subscribed as : archive@jab.org





Re: Macros (Regexp): Two questions.

2000-11-18 Thread Brian Clark


(JR == "Jan Rifkinson") [EMAIL PROTECTED] writes:

JR> Hi Brian,

Howdy!

JR>   On Saturday, November 18, 2000 @ 07:07:39 -0500 you wrote
JR>   the following in regards to Macros (Regexp): Two
JR>   questions.:

JR>I am a new user as well but this functon I know about. Look @
JR>the default reply template & you will see quote options for
JR>none, initials, first name, last name, first initial or full
JR>name.

BC>> I've tried returning the value of %QUOTESTYLE but it's always empty. :\

JR> When using %QUOTESTYLE you have to include a value such
JR> as %QUOTESTYLE="I". You can find these values in help ->
JR> find "quotestyle" yields "templates". Scroll down the
JR> template values & you will find the %QUOTESTYLE values.

Yep, the posts are a little behind because the server is quite a ways
away I'd imagine (for me, anyway) ;-)

I've tried added $QUOTESTYLE="I" as the first line, then returning
($QUOTESTYLE == etc etc..) with no effect. It's always empty..

BC>> [...] When I reply to a thread, the portions of the
BC>> quoted text that are void of characters do not have the
BC>> prefix in front of them. [...] Ie.:

JR> If I understand this correctly, %QUOTESTYLE *will* add
JR> the prefix to all lines of text that you select or all
JR> text if you choose to reply to the entire post.

Yep, $Quotestyle does just what you see in this email. it works, but
the first line is what I'm having trouble with.

Since you have Jan Rifkinson before your email address, my little
macro picks it up correctly, but otherwise, it's a coin toss. ;-)

(Still looking for a fix, btw)

I also have to do something about the [2]'s, [3]'s. etc. that appear
after Re in threads.

I know it seems like I'm bugged by TB!, but I really do love this mail
client, FWIW. ;-)

-Brian

-- 
--
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
   
To Unsubscribe from TBUDL, double click here and send the message:
   
--

You are subscribed as : archive@jab.org





Re: Macros (Regexp): Two questions.

2000-11-18 Thread Brian Clark


(TB == "[EMAIL PROTECTED]") [EMAIL PROTECTED] writes:


BC> (JR == "Jan Rifkinson") [EMAIL PROTECTED] writes:

JR>> Hi Brian,

BC> Howdy!

JR>>   On Saturday, November 18, 2000 @ 07:07:39 -0500 you wrote
JR>>   the following in regards to Macros (Regexp): Two
JR>>   questions.:

JR>>I am a new user as well but this functon I know about. Look @
JR>>the default reply template & you will see quote options for
JR>>none, initials, first name, last name, first initial or full
JR>>name.

BC>>> I've tried returning the value of %QUOTESTYLE but it's always empty. :\

JR>> When using %QUOTESTYLE you have to include a value such
JR>> as %QUOTESTYLE="I". You can find these values in help ->
JR>> find "quotestyle" yields "templates". Scroll down the
JR>> template values & you will find the %QUOTESTYLE values.

BC> Yep, the posts are a little behind because the server is quite a ways
BC> away I'd imagine (for me, anyway) ;-)

BC> I've tried added $QUOTESTYLE="I" as the first line, then returning
BC> ($QUOTESTYLE == etc etc..) with no effect. It's always empty..

Jan corrected this off-list. I meant %QUOTESTYLE, not $QUOTESTYLE

I'm used to Perl. :\

Nevertheless, I was right in that %QUOTESTYLE has no effect.

-Brian

-- 
--
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
   
To Unsubscribe from TBUDL, double click here and send the message:
   
--

You are subscribed as : archive@jab.org





Re: Macros (Regexp): Two questions.

2000-11-18 Thread Kari Jakobi

Brian Clark wrote on Samstag, 18. November 2000 15:00:59 h
about "Macros (Regexp): Two questions.":

Hello Brian,

BC> I also have to do something about the [2]'s, [3]'s. etc. that appear
BC> after Re in threads.

This is one I can solve!
Just add "%SINGLERE" to your reply and/or forwarding template(s) and
every reply of yours will be of this style:
Subject: Re: 

If you want to clean up multiple fwd's and/ or re subject lines (fwd:
fwd: re: fwd:  go to
www.silverstones.com/thebat/faq/macros.html there you will find a
RegExp macro for this job

Sorry on your other question, but I don't know anything about that,
because I never used it.

-- 
Best regards,
Kari Jakobi

MUA: The Bat! 1.48 Beta/7
OS:  Windows 98 4.10 Build  A 
on   AMD K6-2 450MHz w/ 128MB SDRAM

To obtain my PGP-Key send a message to:
  mailto:[EMAIL PROTECTED]?subject=PGP-KEY_REQUEST

-- 
--
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
   
To Unsubscribe from TBUDL, double click here and send the message:
   
--

You are subscribed as : archive@jab.org





Re: Macros (Regexp): Two questions.

2000-11-18 Thread Marck D. Pearlstone


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Brian,

On 18 November 2000 at 09:00:59 -0500 (which was 14:00 where I
live) Brian Clark wrote and made these points:

BC> I've tried added $QUOTESTYLE="I" as the first line, then returning
BC> ($QUOTESTYLE == etc etc..) with no effect. It's always empty..

Let  me  be  the  first  to attempt to understand what you're *really*
trying  to  do  here  ;-).  You are quite right that you can't get the
intended  prefix  returned  to  you  from the macro within a template.
Here's  a  suggestion;  why  not  use a RegEx like that you originally
suggested and force the issue? Take the guesswork out of what TB might
pick as a prefix and both report the key in the heading as you wish to
and  override  the  prefix  to  match  what  you reported by using the
%QUOTESTYLE="=xx". Just a suggestion.

BC> Yep, $Quotestyle does just what you see in this email. it works,
BC> but the first line is what I'm having trouble with.

There  was  a recent debate on this and TB just can't be made to do it
automatically.  You can force the issue by "pasting quoted" (Alt-Ins),
but TB's internal quoting mechanisms don't do it. :-(.

BC> I also have to do something about the [2]'s, [3]'s. etc. that appear
BC> after Re in threads.

Use the %SINGLERE macro to get rid of these.

BC> I know it seems like I'm bugged by TB!, but I really do love this
BC> mail client, FWIW. ;-)

"Tell me about it!" .

- --
 Cheers,
 .\\arck
 
[Marck D. Pearlstone | Moderator TBUDL / TBBETA  ]
[ PGP Key ID: 0x929DCDA0 | www: http://www.silverstones.com  ]
[ PGP Key:  ]

 Vet's Waiting Room: Be back in 5 minutes. Sit! Stay!
 
 TB! v1.48 Beta/6 S/N 14F4B4B2 on Windows NT 5.0 Build 2195 Service Pack 1

-BEGIN PGP SIGNATURE-
Version: PGP 6.5.8 Secured
Comment: PGP Sealed for freshness

iQA/AwUBOhakZDnkJKuSnc2gEQIQ9gCg4LG7VhYr0kFHH/1PDgFMfoDOOD8AoNrT
+CUJYYU/3FhRqu9HLXT0Ip6T
=7uBS
-END PGP SIGNATURE-

-- 
--
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
   
To Unsubscribe from TBUDL, double click here and send the message:
   
--

You are subscribed as : archive@jab.org





Re: Macros (Regexp): Two questions.

2000-11-18 Thread Brian Clark


(KJ == "Kari Jakobi") [EMAIL PROTECTED] writes:

KJ> Brian Clark wrote on Samstag, 18. November 2000 15:00:59 h
KJ> about "Macros (Regexp): Two questions.":

KJ> Hello Brian,

BC>> I also have to do something about the [2]'s, [3]'s. etc. that appear
BC>> after Re in threads.

KJ> This is one I can solve!
KJ> Just add "%SINGLERE" to your reply and/or forwarding template(s) and


Most excellent! Man, that's great. (And, it works)


KJ> every reply of yours will be of this style:
KJ> Subject: Re: 

KJ> If you want to clean up multiple fwd's and/ or re subject lines (fwd:
KJ> fwd: re: fwd:  go to
KJ> www.silverstones.com/thebat/faq/macros.html there you will find a
KJ> RegExp macro for this job


I also tried this one, but it doesn't work (for me at least). When I
stick that into my template, and I try hitting reply for a really nasty
subject line, it doesn't bring up the message editor.


KJ> Sorry on your other question, but I don't know anything about that,
KJ> because I never used it.

You can't win 'em all. ;-)

Appreciate it!

-Brian

P.S. Hey, look. I'm registered!

-- 
--
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
   
To Unsubscribe from TBUDL, double click here and send the message:
   
--

You are subscribed as : archive@jab.org





Re: Macros (Regexp): Two questions.

2000-11-18 Thread A . Curtis Martin

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 18 November, 2000, 10:04 AM, I saw Brian's comments made on
 Sat, 18 Nov 2000 08:20:23 -0500, and thought I'd add my $0.02 worth:

ACM>> Indeed it does and welcome to TBBETA. :=)

BC> Why beta? :-) You mean my client or this list? I noticed there was a
BC> Beta list, but I thought this was the plain 'ol users' list..

My mistake. That should be TBUDL. :=)

[..]
BC> Yep, done this, but I *do* I like the way TB! does the work. The thing
BC> is that I don't know how to copy the prefix it uses in %Quotes into
BC> the first line -- the (BC == "Brian Clark") part.

BC> I've tried this, with no effect:

I think I understand what you desire now. You wish to just output the
initials for the recipient name for your use. I thought you wanted to
quote using initials. Well, in your case you do need a regex macro.

This has proven to be tedious for me as well. The closest I could come
to a working regex macro is:


%SETPATTREGEXP="(?i)\A\b(\S)\S*?\.?\b\s(\b(\S)\b\.?\s)*\b(\S)\S*\b"%REGEXPBLINDMATCH="%TONAME"
 %SUBPATT="1"%Subpatt="3"%Subpatt="4"


It looks complicated but I tried simpler expressions and they wouldn't
work. This expression however barfs on single names. If it is used on a
single name such as Allie, it outputs "Ao". I don't know where the
character "o" comes from. But it always follows the initial of the
single name.

It will not work with names that use a first initial such as mine:
A. Curtis Martin. My attempts to prevent this, which I thought would be
straightforward, only breaks the macro. :=/

It however works nicely on two word names and two word names with an
initial in the middle.

Maybe someone would like to attempt tweaking it to make it work across
the board. I need a break. :=)

- --
A. Curtis Martin  |  Moderator TBUDL/TBBETA
PGP Key: mailto:[EMAIL PROTECTED]?Subject=SendAlliePGPKey

"Best way to dispose of the Borg: Give them Windows 3.1. "
_
TB! v1.48 Beta/7 (S/N CCA4F9B8) | Windows NT 5.00.2195 (Service Pack 1)

-BEGIN PGP SIGNATURE-
Version: PGP 6.5.8
Comment: Digitally signed for sender verification.

iQA/AwUBOhbarvAXeSHuB5k3EQLfGwCcDVDLx+AWV4OltqfM7fMipZrHLkwAoJwY
wJN0Gc/01/4rRiif+GNlNzZ8
=Y5hu
-END PGP SIGNATURE-

-- 
--
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
   
To Unsubscribe from TBUDL, double click here and send the message:
   
--

You are subscribed as : archive@jab.org





Re: Macros (Regexp): Two questions.

2000-11-19 Thread Brian Clark


(MDP == "Marck D. Pearlstone") [EMAIL PROTECTED] writes:

MDP> Hi Brian,

Hi Marck,

MDP> On 18 November 2000 at 09:00:59 -0500 (which was 14:00 where I
MDP> live) Brian Clark wrote and made these points:
MDP> 
BC>> I've tried added $QUOTESTYLE="I" as the first line, then returning
BC>> ($QUOTESTYLE == etc etc..) with no effect. It's always empty..
MDP> 
MDP> Let  me  be  the  first  to attempt to understand what you're *really*
MDP> trying  to  do  here  ;-).  You are quite right that you can't get the
MDP> intended  prefix  returned  to  you  from the macro within a template.
MDP> Here's  a  suggestion;  why  not  use a RegEx like that you originally
MDP> suggested and force the issue? Take the guesswork out of what TB might
MDP> pick as a prefix and both report the key in the heading as you wish to
MDP> and  override  the  prefix  to  match  what  you reported by using the
MDP> %QUOTESTYLE="=xx". Just a suggestion.

I've tried this, but I have yet to perfect my regexp! Heheh.

It does work, but so far I get mixed results. I'll keep at it.

BC>> Yep, $Quotestyle does just what you see in this email. it works,
BC>> but the first line is what I'm having trouble with.
MDP> 
MDP> There  was  a recent debate on this and TB just can't be made to do it
MDP> automatically.  You can force the issue by "pasting quoted" (Alt-Ins),
MDP> but TB's internal quoting mechanisms don't do it. :-(.

There has to be a way to code in that option. (I mean this mail client
is already filled to the brim with options ;-).)

OK cool. The Alt+Ins thing works (as you can see), but let me ask
this: Is there a way to get templates to automatically hit Alt+Ins for
me?

Let's say I Ctrl+A Ctrl+C Ctrl+R really fast. If the template
automatically ran Alt+Ins, that's all I'd need.

Also, I wrote a perl script to grab the name of the currently playing
song in WinAmp. Of course, this sort of thing is trivial under Linux,
but while I'm in Windows, thought this would be kind of neat.

Is there a way to run a program when I hit sent, BUT carry the output
of that program with it in the body of the message?

I'm going to take a wild guess  and say that someone has already
done this before..

MDP> - --
MDP>  Cheers,
MDP>  .\\arck

Gosh, this list is full of great info. :-)

-Brian

-- 
--
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
   
To Unsubscribe from TBUDL, double click here and send the message:
   
--

You are subscribed as : archive@jab.org





Re: Macros (Regexp): Two questions.

2000-11-19 Thread Brian Clark


(BC == "[EMAIL PROTECTED]") [EMAIL PROTECTED] writes:


BC> (MDP == "Marck D. Pearlstone") [EMAIL PROTECTED] writes:

MDP>> Hi Brian,

BC> Hi Marck,

--snip-

BC>>> Yep, $Quotestyle does just what you see in this email. it works,
BC>>> but the first line is what I'm having trouble with.
MDP>> 
MDP>> There  was  a recent debate on this and TB just can't be made to do it
MDP>> automatically.  You can force the issue by "pasting quoted" (Alt-Ins),
MDP>> but TB's internal quoting mechanisms don't do it. :-(.

BC> There has to be a way to code in that option. (I mean this mail client
BC> is already filled to the brim with options ;-).)

BC> OK cool. The Alt+Ins thing works (as you can see), but let me ask
BC> this: Is there a way to get templates to automatically hit Alt+Ins for
BC> me?

BC> Let's say I Ctrl+A Ctrl+C Ctrl+R really fast. If the template
BC> automatically ran Alt+Ins, that's all I'd need.


Correction. I'd have to delete the original reply text, then hit
Alt+Ins. Doh.


BC> Also, I wrote a perl script to grab the name of the currently playing
BC> song in WinAmp. Of course, this sort of thing is trivial under Linux,
BC> but while I'm in Windows, thought this would be kind of neat.

BC> Is there a way to run a program when I hit sent, BUT carry the output
BC> of that program with it in the body of the message?

BC> I'm going to take a wild guess  and say that someone has already
BC> done this before..

Oh, and btw, let me say that I have already found the option in outbox
filters to run an external program -- I don't think that will do what
I am talking about. Or will it?

-Brian
--
You may be recognized soon. Hide.

-- 
--
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
   
To Unsubscribe from TBUDL, double click here and send the message:
   
--

You are subscribed as : archive@jab.org





Re: Macros (Regexp): Two questions.

2000-11-19 Thread Marck D. Pearlstone


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Brian,

On 19 November 2000 at 07:40:41 -0500 (which was 12:40 where I
live) Brian Clark wrote and made these points:

BC>> There has to be a way to code in that option. (I mean this mail
BC>> client is already filled to the brim with options ;-).)

We have to wait for Stef/Max to decide they think it's worth making an
option.

BC>> OK cool. The Alt+Ins thing works (as you can see), but let me ask
BC>> this: Is there a way to get templates to automatically hit

BC>> Alt+Ins  for me? Let's say I Ctrl+A Ctrl+C Ctrl+R really fast. If
BC>> the template automatically ran Alt+Ins, that's all I'd need.

BC> Correction. I'd have to delete the original reply text, then hit
BC> Alt+Ins. Doh.

I  tried  using  the  %CLIPBOARD macro in a %QUOTES="%CLIPBOARD" QT to
test  this  but  sadly it reverts to "normal" quoting style. All I can
think  of  is to use something like MacroMagic to supply the keystroke
sequences.

BC>> Is there a way to run a program when I hit sent, BUT carry the
BC>> output of that program with it in the body of the message?

BC>> I'm going to take a wild guess  and say that someone has
BC>> already done this before..

I  can't  say  that I've seen anyone do this in particular. Those that
needed  something  done  to  a  message  between outbox and server use
something like "X-Ray" to modify the message headers.

BC> Oh, and btw, let me say that I have already found the option in
BC> outbox filters to run an external program -- I don't think that
BC> will do what I am talking about. Or will it?

It  might  -  I  suppose that you could perform a sequence of multiple
filters which

1) Export the message
2) Run the external operation
3) Import the message back to the outbox.

I haven't tried it and don't know where the loop stops :-). Try it and
see.

- --
 Cheers,
 .\\arck
 
[Marck D. Pearlstone | Moderator TBUDL / TBBETA  ]
[ PGP Key ID: 0x929DCDA0 | www: http://www.silverstones.com  ]
[ PGP Key:  ]

 I'm not crazy, I've just been in a very bad mood for 30 years.
 
 TB! v1.48 Beta/7 S/N 14F4B4B2 on Windows NT 5.0 Build 2195 Service Pack 1

-BEGIN PGP SIGNATURE-
Version: PGP 6.5.8 Secured
Comment: PGP Sealed for freshness

iQA/AwUBOhfm0jnkJKuSnc2gEQIQ+ACfWKfve/GQFIsIe0Z/yK8Mr5SGRD4An3dX
WJYhVocaggjBN4fteQMwruws
=gAZC
-END PGP SIGNATURE-

-- 
--
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
   
To Unsubscribe from TBUDL, double click here and send the message:
   
--

You are subscribed as : archive@jab.org





Re: Macros (Regexp): Two questions.

2000-11-19 Thread Brian Clark


(Ma == "Marck D. Pearlstone") [EMAIL PROTECTED] writes:

MDP> On 19 November 2000 at 07:40:41 -0500 (which was 12:40 where I
MDP> live) Brian Clark wrote and made these points:
MDP> 
BC>>> There has to be a way to code in that option. (I mean this mail
BC>>> client is already filled to the brim with options ;-).)
MDP> 
MDP> We have to wait for Stef/Max to decide they think it's worth making an
MDP> option.

Oh yes, I realized that. I was just babbling.

BC>>> OK cool. The Alt+Ins thing works (as you can see), but let me ask
BC>>> this: Is there a way to get templates to automatically hit

8< snippity snip snip >8-

BC>>> Is there a way to run a program when I hit sent, BUT carry the
BC>>> output of that program with it in the body of the message?
MDP> 
BC>>> I'm going to take a wild guess  and say that someone has
BC>>> already done this before..
MDP> 
MDP> I  can't  say  that I've seen anyone do this in particular. Those that
MDP> needed  something  done  to  a  message  between outbox and server use
MDP> something like "X-Ray" to modify the message headers.

Yep, I've tried X-Ray. IMO, it's pretty wack to run yet another
program in the tray just to fool around with X-tra headers. It's a
novel idea, but it's not for me. :-)

BC>> Oh, and btw, let me say that I have already found the option in
BC>> outbox filters to run an external program -- I don't think that
BC>> will do what I am talking about. Or will it?
MDP> 
MDP> It  might  -  I  suppose that you could perform a sequence of multiple
MDP> filters which
MDP> 
MDP> 1) Export the message
MDP> 2) Run the external operation
MDP> 3) Import the message back to the outbox.
MDP> 
MDP> I haven't tried it and don't know where the loop stops :-). Try it and

LOL Yeah the loop thing is pretty funny.

I got it to work just by having an Outbox filter run the perl script
when I sent mail, and it wrote the song to a file.

But, the catch is that I could only get it to display the last song
written to the file. (I was using %PUT="" in my template).

So, I ditched that idea. I still have plenty of stuff to play with
though!

MDP> - --
MDP>  Cheers,
MDP>  .\\arck

Take it easy,

-Brian
---
The resistance to an idea increases as the
square of its importance.

-- 
--
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
   
To Unsubscribe from TBUDL, double click here and send the message:
   
--

You are subscribed as : archive@jab.org