Re: %WRAPPED macro question

2003-11-11 Thread Chris
On Tuesday, November 11, 2003 at 6:16:17 PM, David Boggon wrote in the
message "%WRAPPED macro question"
:

> I'm trying to set up a top-posting reply template that wraps original
> text and adds a ': ' prefix before each line. Like this

> : sample text

  You really should use a right angle bracket (>). It is standard
  across e-mail clients and operation systems.

-- 
Chris 
Quoting when replying to this message is good for your karma.

Is the glass half empty, half full, or twice as large as it needs to
be?


pgp0.pgp
Description: PGP signature

Current version is 2.01.3 | "Using TBUDL" information:
http://www.silverstones.com/thebat/TBUDLInfo.html

Re: %WRAPPED macro question

2003-11-12 Thread David Boggon

Hello Chris,

C>   You really should use a right angle bracket (>). It is standard
C>   across e-mail clients and operation systems.

Thanks but I'm asking about TB's macro's rather than about standards
for reply prefixing.

-- 

David Boggon

[EMAIL PROTECTED]

Using The Bat! 2.01.3 on Windows 2000
Service Pack 4


 




Current version is 2.01.3 | "Using TBUDL" information:
http://www.silverstones.com/thebat/TBUDLInfo.html


Re: %WRAPPED macro question

2003-11-12 Thread Robin Anson
On Wed 12 November 2003, 10:16:17 +1000, David Boggon wrote:
> I'm trying to set up a top-posting reply template that wraps original text
> and adds a ': ' prefix before each line. Like this
> 
> : sample text
> 
> I am using Andrew Perevodchik's macro plug-in and this is the expression
> I've come up with:
> 
> %WRAPPED=%PREFIX(": ","%TRIM()")

> Now, everything works fine except that the prefix is inserted before each
> line of the /original/ message, not the newly wrapped message.

Which is what I'd expect

> Also I can't get the %WRAPPED macro to work otherwise.

The %Wrapped macro only wraps the first paragraph of the text that is fed to
it. What you really need is Januk Aggarwal's "ReWrap" QT from the Macro and QT
repository at http://www.silverstones.com/thebat/Library.html.

Make sure you use the V2 macro and I think you would need to use something
like:

   %_Wrap_Text="%QInclude(your_QT)"%-
   %_Wrap_Limit="70"%-
   %Prefix(": ",%QInclude(wrap))%-


-- 
Robin Anson
Using The Bat! v2.01.3 on Windows XP 5.1 Build 2600
Service Pack 1




Current version is 2.01.3 | "Using TBUDL" information:
http://www.silverstones.com/thebat/TBUDLInfo.html


Re: %WRAPPED macro question

2003-11-12 Thread David Boggon

Hi Robin,


RA>%_Wrap_Text="%QInclude(your_QT)"%-
RA>%_Wrap_Limit="70"%-
RA>%Prefix(": ",%QInclude(wrap))%-

Yes that works an absolute treat  thankyou!

ps I have not come across the %_Wrap_Text= macro before ... I have the
complete list of macros  where is that one hidden?

-- 

David

[EMAIL PROTECTED]


He whose face gives no light, shall never become a star.
  - William Blake


Using The Bat! 2.01.3 on Windows 2000
Service Pack 4


 




Current version is 2.01.3 | "Using TBUDL" information:
http://www.silverstones.com/thebat/TBUDLInfo.html


Re: %WRAPPED macro question

2003-11-12 Thread Robin Anson
On Thu 13 November 2003, 4:42:35 +1000, David Boggon wrote:
RA>>%_Wrap_Text="%QInclude(your_QT)"%-
RA>>%_Wrap_Limit="70"%-
RA>>%Prefix(": ",%QInclude(wrap))%-
> 
> Yes that works an absolute treat  thankyou!
> 
> ps I have not come across the %_Wrap_Text= macro before ... I have the
> complete list of macros  where is that one hidden?

It isn't a macro. %_Wrap_Text and %_Wrap_Limit are variables that are used by
Januk's wrap QT. %_Wrap_Text is the text that is to be wrapped (in this case
the output from your QT, and %_Wrap_Limit is the maximum line length after
wrapping. I put in a suggested value of 70, because after you have prepended
": " it will still give a line length of no more than 72.

Note that you will almost certainly need a non-wrapping version of this. You
could not, for instance, have made a satisfactory quote by wrapping the
earlier message of mine (prefixed RA>> above).

-- 
Robin Anson
Using The Bat! v2.01.3 on Windows XP 5.1 Build 2600
Service Pack 1





Current version is 2.01.3 | "Using TBUDL" information:
http://www.silverstones.com/thebat/TBUDLInfo.html