F3/F4 Multiple Files - [Total Commander 11]

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
Pawel
Junior Member
Junior Member
Posts: 91
Joined: 2018-12-18, 11:54 UTC
Location: Poland
Contact:

F3/F4 Multiple Files - [Total Commander 11]

Post by *Pawel »

@ghisler(Author)

First off all, Christian - thank you for upcoming Total Commander new version! We are all so exited :)

I'd like to return to our private conversation about F3/F4 in TC. As you maybe remember we were thinking how to implement passing multiple filenames to Viewer/Editor using F3 and F4 shortcuts. Unfortunatelly, TC F3 (or F4) action support only 1 file under the cursor. It will pass only selected item or the last one from the list (if there are more). If user press F3 (or F4) button on keyboard TC will run external viewer and full path to file - ONLY 1 file.

Have you considered implementing multiple files for TC 11?
All information is on your email. Please, think about it.

Keep up good work!
-Pawel
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50541
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: F3/F4 Multiple Files - [Total Commander 11]

Post by *ghisler(Author) »

F3 supports multiple selected files - either press Shift+F3, or go to Configuration - Options - Edit/View to make F3 open multiple files.

For F4 I prefer not to open multiple files because it would open one copy of the editor for each, and Shift+F4 is already taken.
You can however add a custom association with empty "open" verb and new verbs like "Edit". These will work with multiple files in Shift+F10 context menu.
Author of Total Commander
https://www.ghisler.com
Pawel
Junior Member
Junior Member
Posts: 91
Joined: 2018-12-18, 11:54 UTC
Location: Poland
Contact:

Re: F3/F4 Multiple Files - [Total Commander 11]

Post by *Pawel »

Christian,
Yes, TC supports opening multiple files for F3 - but only in internal Lister

I am constantly talking about external viewer, defined by user

Video: https://www.dropbox.com/s/32db4w74mn70ij8/TC_F3.mp4?dl=0

As you can see on above video, I use ShellManager.exe as external viewer (it get parameters from TC and passes it to proper application, definded by user).

If I want to use ButtonBar button to pass multiple files to external viewer (ShellManager) it is not problem - it works fine (20s of video):

Code: Select all

[em_OPEN_FILE]
Cmd=ShellManager.exe
Param=%P%S
Thanks to this, it opens all selected files in associated application (Shell Manager passes parameters to proper app).

But, if I want to use F3 shortcut and do the same, it passes ONLY 1 file under cursor.
In TC Config file:

Code: Select all

[Configuration]
Viewer=ShellManager.exe
Viewertype=2 ; 0=Internal/current file 1=marked 2=external
30s of video, shows that only 1 file is open (but selected many of them).

Ps: To make it work, I can define global shortcut F3 and use buttonbar function - but unfortunatelly, that breaks FTP mode for example...

-Pawel
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50541
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: F3/F4 Multiple Files - [Total Commander 11]

Post by *ghisler(Author) »

Sorry, F3 does not currently support passing multiple files to external viewers.
Author of Total Commander
https://www.ghisler.com
Pawel
Junior Member
Junior Member
Posts: 91
Joined: 2018-12-18, 11:54 UTC
Location: Poland
Contact:

Re: F3/F4 Multiple Files - [Total Commander 11]

Post by *Pawel »

Christian,
Thank you. You're a tough player! :)
I hope that in the future you will change your mind and implement this, in my opinion, very useful functionality.
You got email archive with my sugestions.

EDIT: It is now done in UFM project (it uses UFM Shell Manager as external viewer/editor to pass filenames to proper application).

-Pawel
Post Reply