F4 on ..
Moderators: Hacker, petermad, Stefan2, white
Re: [BUG] F4 on ..
astrotzky wrote:1. Select some files
2. Move the cursor to ..
3. Press F4
===> "No files selected!"
It only works ok when the cursor is not on the ..
Please confirm.
If you use external editor all selected files are opened in editor.
Normal, I think.
Best wishes,
My Best Wishes,
Eugen
Eugen
OK, I use ChoiseEditor and when I select mutiple files and press F4, ALL of them are opened into my editor (SciTE) each in it's own tab.
But when the cursor is on .. , I get that error when I was expecting the same behaviour: all the selected files to be opened.
After more investigation, it seems that Total Commander sends just the file under cursor to the configured editor (ChoiseEditor in my case), so ChoiseEditor must be doing something to get all the selected files.
So, yes this is not a bug...
But saying "No files selected!" after I just selected some, is confusing.
Maybe TC should send all the selected files to the editor by use of % parameters (you would configure the editor like you do the buttons).
But when the cursor is on .. , I get that error when I was expecting the same behaviour: all the selected files to be opened.
After more investigation, it seems that Total Commander sends just the file under cursor to the configured editor (ChoiseEditor in my case), so ChoiseEditor must be doing something to get all the selected files.
So, yes this is not a bug...
But saying "No files selected!" after I just selected some, is confusing.
Maybe TC should send all the selected files to the editor by use of % parameters (you would configure the editor like you do the buttons).
F4 on '..' is mean <<Edit Up Directory (or folder)>>.astrotzky wrote:OK, I use ChoiseEditor and when I select mutiple files and press F4, ALL of them are opened into my editor (SciTE) each in it's own tab.
But when the cursor is on .. , I get that error when I was expecting the same behavior: all the selected files to be opened.
...
Can you edit a directory?
It is correct behavior of TC. Exactly what is happened.
2Ghisler
Maybe, line 51 in LNG file can be something like this:
"The object of action is missing! Unfortunately, there are no FILES selected for this action."
This behavior is meet in several cases : archive, copy, move and so on.
The answer is correct everywhere. I have tested many years ago.

Even in computer world: "Nature isn't wrong, we are!" in most cases.
Best wishes,
My Best Wishes,
Eugen
Eugen
The thing described above is a design issue.
But here is also a bug.
I have a message:
When I select .. (and nothing more) TotaEditor is called with command line:
I think it's quite incorrect...In such situation TC should send either
empty list or
a list with c:\path\ or
a list with c:\path\..
I prefer the second or the 3rd option.
Even when there's no list, the rest of parameters should be sent..or program shouldn't be started.
But here is also a bug.
I have a message:
Code: Select all
[em_start_xmplay]
Menu=Start XMPlay with all selected files, also in subdirs
Cmd=%COMMANDER_PATH%\..\Tools\TotalEditor\TotalEditor
Param=-L %F --ignore-dirs=1 --recurse-subdirs=1 --no-default=1 -C \TE-Music.ini
Code: Select all
empty list or
a list with c:\path\ or
a list with c:\path\..
I prefer the second or the 3rd option.
Even when there's no list, the rest of parameters should be sent..or program shouldn't be started.
Re: [BUG] F4 on ..
In my case, only the one file under cursor is opened in editor. My Editor also supports multi-tabs but i dont think its an editor problem.eugensyl wrote:astrotzky wrote:1. Select some files
2. Move the cursor to ..
3. Press F4
===> "No files selected!"
It only works ok when the cursor is not on the ..
Please confirm.
If you use external editor all selected files are opened in editor.
Normal, I think.
Best wishes,
How can i send all marked files to the external editor?
Thanks
Walter

Walter
#1561xx Personal Licence
You have to create an user-command. Menu Configuration/Misc. You choose F4 as shorcut key and when in Command combo-box, you click on lens button to open the list of internal commands. Very down in the left list, you click on "usercmd.ini" option.
You can see all your usercmds. Click on "New" button and enter "em_edit" for example as name of your new usercmd.
Now you have to enter the path of your editor.exe (browse if necessary) and enter "%P%S" in the parameter input box. Confirm.
Now, name of your new usercmd has filled the Command input box of the "Configuration" TC window.
Don't forget to click on te check button right to the lens button. Finally click on Confirm button.
That's all, folks.
With F4 you open now all the selected files.
You can see all your usercmds. Click on "New" button and enter "em_edit" for example as name of your new usercmd.
Now you have to enter the path of your editor.exe (browse if necessary) and enter "%P%S" in the parameter input box. Confirm.
Now, name of your new usercmd has filled the Command input box of the "Configuration" TC window.
Don't forget to click on te check button right to the lens button. Finally click on Confirm button.
That's all, folks.
With F4 you open now all the selected files.