Viewing 1 post (of 1 total)
  • Author
    Posts
  • #10381
    Stefan
    Participant

    I want to suggest an new argument for the External Tools setup:

    $(TempFile)

    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)

    Example
    Command: .toolstool.exe
    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.)

    .

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.