You can add a command in the Tools menu to process a script using GNU's m4 macro processor (available at http://www.gnu.org/software/m4/m4.html. Using "configure tools", add the following:

 

Program: c:\m4\bin\m4.exe

Parameters: -P %PathSN% %n<m4 - %file%>%%getfile%

 

This will process the file open in the editor and send all the output into a new tab of the editor, named after the file. You can then edit and save the new file.

 

The parameters %n<m4 - %file%>% %getfile% are "magic" which are deleted when running. They command optiperl:

 

%n<m4 - %file%>%

To open a new file in the editor named "m4 - filename"

 

%getfile%

To get all output and insert in the editor.

 

Top  Previous  Next