Hi Ron,

RH> How do you do that ?? ;-)

please take a look at [1]. This describes how to use the Quick
Templates. You should not use the old source code posted in [1]. I
added the most recent version to this mail.

,----- [ very important! ]
| Never forget: the QT only work with TB! version _1.54 beta_. They
| crash on 1.53.
`-----

[1] http://www.mail-archive.com/tbtech@thebat.dutaint.com/msg01200.html

Best regards, Carsten

2.1 QT: bq
ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ
,----- [ %CURSOR ]
%REM=_Copy clipboard into comment_%-
%COMMENT='%clipboard'%-
%-
%REM=_Does comment end with line break?_%-
%REM=_If no: add line break_%-
%IF:"%-
%-
%SETPATTREGEXP='(?is).*[\n]\z'%-
%REGEXPMATCH='%COMMENT'"=""%-
:%-
"%COMMENT='%COMMENT
'"%-
%-
%REM=_Call the bq2 template_%-
%QINCLUDE="bq2"%-
`-----
ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
QT: bq2
______________________________________________________________________
%REM=_Does comment have two or more lines?_%-
%REM=_If yes: print | and the first line_%-
%REM=_        cut this line out of comment_%-
%REM=_        and call this QT again_%-
%REM=_If no:  print | and the last line and exit_%-
%-
%IF:"%-
%-
%SETPATTREGEXP='(?is).*?[\n](.*)'%-
%REGEXPMATCH='%COMMENT'x"<>"x"%-
:"%-
%SETPATTREGEXP='(?is)(.*?)[\n]'%-
| %REGEXPMATCH='%COMMENT'
%-
%COMMENT='%-
%SETPATTREGEXP=""(?is).*?[\n](.*)""%-
%REGEXPMATCH=_%COMMENT_'%-
%QINCLUDE='bq2'"%-
:%-
"| %COMMENT%COMMENT=''"%-
ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
QT: bqf
______________________________________________________________________
,----- [ %clipboard ]
%REM=_Insert file (name in clipboard) into _%-
%REM=_comment._%-
%REM=_Call QT_%-
%-
%COMMENT='%put="%clipboard"
'%-
%QINCLUDE="bq2"%-
'-----
ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
QT: nq
______________________________________________________________________
%REM=_Cut out part before '^-- $'_%-
%REM=_and insert it into comment_%-
%REM=_Call QT_%-
%-
%COMMENT="%-
%SETPATTREGEXP='(?ism)[\n]*(.*?)[\n]*((-- [\n])|\z)'%-
%REGEXPBLINDMATCH='%text'%-
%SUBPATT='1'"%-
%QINCLUDE="bq2"
ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ


--
_________________________________________________________
Archives   : http://tbbeta.thebat.dutaint.com
Moderators : mailto:[EMAIL PROTECTED]
Unsubscribe: mailto:[EMAIL PROTECTED]
Wish List  : http://wish.thebat.dutaint.com
BugTraq    : https://bt.ritlabs.com/

Reply via email to