Main : Macros : 

Category: Macros
Download Now!Text Filter macro Popular Version: 
Submitted Date:  2/8/2008
Description:
This macro implements "text filter" functionality. The selected text in the
current buffer (or the entire buffer if no text is selected) will be passed to
stdIn for the command specified by the "osCmd" parameter. The originally selected
text (or the entire buffer if no text is selected) will be replaced by the output of
the command.

USE AT YOUR OWN RISK

Include this macro in another macro using the #include directive.
Form an command to call and pass it the TextFilter proceedure as shown in the following
example:


#include ".\TextFilter.vbee"

osCmd = "java -cp ""path\to\some.jar"" someclass"
TextFilter osCmd


Developed by danderson.

Downloaded 1318 times  1318     Supported Platforms EmEditor Professional   Home Page 
Rating: 0.00 (0 votes)
Rate this File | Modify | Report Broken File | Tell a Friend | Comments (0)


English čeština Deutsch español français italiano 日本語 한국어 Русский 简体中文 繁體中文