On 32-bit Vista I have installed Akelpad 4.5.6 (x86) in following path:
c:\totalcmd\AkelPad\AkelPad.exe
In AkelPad.exe file properties I enabled option to start it as administrator
Total Commander is started not elevated.
In Total Commander "Configuration->Edit/View" there is the "Editor for F4" line:
C:\totalcmd\AkelPad\AkelPad.exe "%1"
When trying to use F4 on file, I get an error:
Code: Select all
---------------------------
Total Commander
---------------------------
File not found!
C:\totalcmd\AkelPad\AkelPad.exe
---------------------------
ОК
---------------------------
Notes:
1) the button:
Code: Select all
TOTALCMD#BAR#DATA
C:\totalcmd\AkelPad\AkelPad.exe
"%P%N"
C:\totalcmd\AkelPad\AkelPad.exe
C:\totalcmd\AkelPad\
-1
2) the command from TC command line:
C:\totalcmd\AkelPad\AkelPad.exe c:\totalcmd\AkelPad\AkelPad.ini
still works.
3) There's a workaround to make Akelpad.exe with "As administrator" property enabled to work as F4 editor, athough with a limitation. Editor line should be following in TC options:
elevate C:\totalcmd\AkelPad\AkelPad.exe "%1"
(requires "Elevation PowerToys for Windows Vista" installed).
The limitation, and it doesn't depend on akelpad.exe "as administrator" property, is that after calling F4 on file inside archive it gives an error like this one:
Code: Select all
---------------------------
AkelPad
---------------------------
Create new file "C:\Users\VMASKE~1\AppData\Local\Temp\_tc\ReadMe.rus"?
---------------------------
ОК Отмена
---------------------------
C:\totalcmd\AkelPad\AkelPad.exe "%1"