EmEditor (text editor) Forum Index
   EmEditor Core Enhancement Suggestions
     External Tools: new argument to use temporary file
Register To Post

Threaded | Oldest First Previous Topic | Next Topic | Bottom
Poster Thread
Stefan
Posted on: 5/26/2012 2:40 pm
Home away from home
Joined: 7/14/2008
From: Germany, EU
Posts: 285
External Tools: new argument to use temporary file
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: .\tools\tool.exe
Argument: /P 3 /F $(TempFile)

and the command line is build like
p:\ath\to\EmEditor\tools\tool.exe /P 3 /F "%tmp%\eetemp214.txt"

(of course, %tmp% would be expanded before.)



.
Threaded | Oldest First Previous Topic | Next Topic | Top


Register To Post
 
English čeština Deutsch español français italiano 日本語 한국어 Русский 简体中文 繁體中文