Re: Question about unicode support...
Brought to you by:
set
From: salvador <sal...@in...> - 2001-10-11 20:28:29
|
Grzegorz wrote: > > You can do it with sLisp, you have GetSelection and you have RunProgram. > > Hmmm... I somehow doubt it. First, if I use the "Test RunProgram" slisp > example and type "cat /home/gregorio/macros.slp", I see a few lines in the > message window about running commands but nothing happens. Where's the > output of cat? Fixed, it was forking. > Second, you cannot pipe GetSelection to the RunProgram, which is necessary, > because I don't see a way to create temporary files in slisp (though I am > new at this). My proposed example tries to run Allegro's textconv tool, > which converts stdin to stdout: I added a second (optional) parameter to RunProgramRedir. It should be an string containing the text to send to the external program. I tested it with "recode ISO8859-1..html" and worked really nice. I added an example to macros.slp. I also created a MessageBox command, in the example is used to indicate to the user that some text must be selected first (the text that we'll send to the external filter). SET -- Salvador Eduardo Tropea (SET). (Electronics Engineer) Visit my home page: http://welcome.to/SetSoft or http://www.geocities.com/SiliconValley/Vista/6552/ Alternative e-mail: se...@co... se...@ie... Address: Curapaligue 2124, Caseros, 3 de Febrero Buenos Aires, (1678), ARGENTINA Phone: +(5411) 4759 0013 |