Switch in filters (by EI)

Ask your TEXTools related questions here.

Switch in filters (by EI)

Postby oldpost » Fri Nov 27, 2009 5:14 pm

note: This message was originally posted by user EI on Firefly Software's original forum on
Thu Nov 20 02:39:42 2008 (mesg. ID# 2298) and is reproduced here for reference.

------------------

[Original message accidentally deleted. Re-added it. - Barry]

Hi,
May I know how to use the switch in this
template, I tried to put '/B', /B, 'B'
and so on, but it doesn't work. Could
you let me know how to use it?
Also, is it possible to have optional
switch in the template? How you put it
in the filter?
; Template: s /B /Ss
; Prompt: /B /S
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
AppendStr (optional switch?)
oldpost
 
Posts: 509
Joined: Thu Nov 26, 2009 1:35 pm

Re: Switch in filters (by Barry)

Postby oldpost » Fri Nov 27, 2009 7:25 pm

note: This message was originally posted by user Barry on Firefly Software's original forum on
Fri Nov 21 19:56:36 2008 (mesg. ID# 2346) and is reproduced here for reference.

------------------

Called pipe and UDF templates can't have switches; however, you can use the string and numeric parameters passed to a called pipe or UDF to construct switches for any filters it uses.

To use the "\b" switch with the AppendStr filter, you'd do something like this:

AppendStr 'this' /b
oldpost
 
Posts: 509
Joined: Thu Nov 26, 2009 1:35 pm


Return to TEXTools Support

Who is online

Users browsing this forum: No registered users and 1 guest

cron