- May 26, 2012 at 10:40 pm #10381
I want to suggest an new argument for the External Tools setup:
This is for tools which needs to work on an file.
When this argument is given, the selected text is
written to an temp file like “\%tmp\%eetemp214.txt”
and this path is given as parameter to the external tool.
(For the whole file we can already use the arg $(FilenameEx)
but some tools can not handle $(SelText) with multi lines)
Argument: /P 3 /F $(TempFile)
and the command line is build like
p:athtoEmEditortoolstool.exe /P 3 /F “\%tmp\%eetemp214.txt”
(of course, \%tmp\% would be expanded before.)
You must be logged in to reply to this topic.