On Tue, Apr 13, 2010 at 8:36 AM, Svenn Are Bjerkem
<svenn.bjer...@googlemail.com> wrote:
> just wondering how I can set up custom tools to present a selected
> piece of text in zim to stdin of an external tool.
>
> mytool %t does not work as expected as %t will be interpreted as
> command line arguments instead of stdin.

Probably you will need a small shell script to mediate.

E.g.

  #!/bin/bash
  echo $1 | myscript

and use this shell script as the custom tool.

(For windows a similar bat script can be written.)

Regards,

Jaap

_______________________________________________
Mailing list: https://launchpad.net/~zim-wiki
Post to     : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp

Reply via email to