Separate ListerModes setting for QuickView
Moderators: Hacker, petermad, Stefan2, white
Separate ListerModes setting for QuickView
This post https://ghisler.ch/board/viewtopic.php?p=443797#p443797 made me think of this:
It would be nice with a separate ListerModesQuick section in wincmd,ini to set "Define view method by file type" for QuickView independently from Listers main window.
It would be nice with a separate ListerModesQuick section in wincmd,ini to set "Define view method by file type" for QuickView independently from Listers main window.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: Separate ListerModes setting for QuickView
I would rather allow to fully separate Lister and QuickView settings. If anything is defined in QuickView section, it should be used instead of Lister settings.
Andrzej P. Wozniak
Polish subforum moderator
Polish subforum moderator
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Separate ListerModes setting for QuickView
You can open a standalone lister with F3 by calling totalcmd.exe/totalcmd64.exe with /S=L parameter and /i=other.ini for separate settings.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Separate ListerModes setting for QuickView
How would that help for having separate settings in QuickView ?You can open a standalone lister
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: Separate ListerModes setting for QuickView
petermad wrote: 2023-10-29, 11:57 UTCHow would that help for having separate settings in QuickView ?You can open a standalone lister
Re: Separate ListerModes setting for QuickView
2JOUBE
I understand the concept of running Lister as a separate instance with an alternative ini-file, but if i press Ctrl+Q to open QuickView, then QuickView uses the settings of the currently running TC - it will not use the settings in other.ini. That also applies to QuickView in a separate window invoked with Ctrl+Shift+Q... /i=other.ini for separate settings.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: Separate ListerModes setting for QuickView
We have cm_SrcQuickInternalOnly already, wouldn't a cm_SrcQuickIni=other.ini (and/or cm_SrcListerIni=other.ini) make sense as well?
F4MiniMenu (Forum) - Open selected file(s) from TC in defined editor(s) - A (minimalistic) clone of F4Menu
Source at GitHub (AutoHotkey). TCSyncComments (copy file comments)
Source at GitHub (AutoHotkey). TCSyncComments (copy file comments)
Re: Separate ListerModes setting for QuickView
Aren't you imxing up internal commands and ini-file parameters here ?hi5 wrote: 2023-10-29, 18:36 UTC We have cm_SrcQuickInternalOnly already, wouldn't a cm_SrcQuickIni=other.ini (and/or cm_SrcListerIni=other.ini) make sense as well?
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Separate ListerModes setting for QuickView
Yes, you would use the internal TC settings for Ctrl+Q, and call an external lister instead of the internal one with F3.I understand the concept of running Lister as a separate instance with an alternative ini-file, but if i press Ctrl+Q to open QuickView, then QuickView uses the settings of the currently running TC
You can configure an external lister for F3 via Configuration - Options - Edit/View. There you can change the hotkeys and set the command line for the external lister.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Separate ListerModes setting for QuickView
That is just a workaround, and it makes all lister windows opened with F3 separate instances, so they will not close when I close TC, that might be wanted or not.call an external lister instead of the internal one with F3.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: Separate ListerModes setting for QuickView
Am I? My point was (is) that you have a command for lets call it "no config" (cm_SrcQuickInternalOnly) so at the moment you have two "options":petermad wrote: 2023-10-29, 23:45 UTCAren't you imxing up internal commands and ini-file parameters here ?
1. cm_SrcQuickInternalOnly
2. using the ini settings
So my suggestion was to introduce a command to allow the loading of a specific lister ini, other internal commands allow for say loading of files (loadlist) as well. Not saying my suggested names make any sense. cm_LoadListerIni could be a better name. Anyway, whatever the method, an option to pass on settings to lister without jumping through hoops or changing the default behaviour is something to be considered. But will probably be low priority.
F4MiniMenu (Forum) - Open selected file(s) from TC in defined editor(s) - A (minimalistic) clone of F4Menu
Source at GitHub (AutoHotkey). TCSyncComments (copy file comments)
Source at GitHub (AutoHotkey). TCSyncComments (copy file comments)
Re: Separate ListerModes setting for QuickView
2hi5
Then we could just as well allow the current 7 commands: cm_*QuickView and cm_*QuickInternalOnly and cm_SeparateQuickView to use a parameter for which ini file to use - so a command like: cm_LeftQuickView /I="other.ini" should open QuickView in the left side using the settings in other.ini - that could be good too - but leaves more up to the user in configuring the command.
Then we could just as well allow the current 7 commands: cm_*QuickView and cm_*QuickInternalOnly and cm_SeparateQuickView to use a parameter for which ini file to use - so a command like: cm_LeftQuickView /I="other.ini" should open QuickView in the left side using the settings in other.ini - that could be good too - but leaves more up to the user in configuring the command.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: Separate ListerModes setting for QuickView
2petermad: That is a much better idea indeed, keeps the number of commands down. More isn't always better.
F4MiniMenu (Forum) - Open selected file(s) from TC in defined editor(s) - A (minimalistic) clone of F4Menu
Source at GitHub (AutoHotkey). TCSyncComments (copy file comments)
Source at GitHub (AutoHotkey). TCSyncComments (copy file comments)
Re: Separate ListerModes setting for QuickView
My Idea, though, was to add a shortcut key O (for Options) to Lister to open the "Configure Lister" dialog. If O was pressed in Lister, then changes to the settings should be saved in [Lister] and [ListerModes] in wincmd.ini just as they are now.
But when opening the "Configure Lister" dialog by pressing O in the QuickView window (or by some other way of opening the "Configure Lister" dialog from the QuickView window), then at the first run TC should copy the settings from [Lister] and [ListerModes] to [ListerQuick] and [ListerModesQuick], and all changes should thereafter be saved in these two sections of wincmd.ini when opening the dialog from the QuickView window.
The title of the "Configure Lister" dialog could be changed to "Configure Lister for QuickView" to let the user know that the settings are independent of the settings made in "Configure Lister".
In this way the Configuration dialog can be re-used, for both settings.
But when opening the "Configure Lister" dialog by pressing O in the QuickView window (or by some other way of opening the "Configure Lister" dialog from the QuickView window), then at the first run TC should copy the settings from [Lister] and [ListerModes] to [ListerQuick] and [ListerModesQuick], and all changes should thereafter be saved in these two sections of wincmd.ini when opening the dialog from the QuickView window.
The title of the "Configure Lister" dialog could be changed to "Configure Lister for QuickView" to let the user know that the settings are independent of the settings made in "Configure Lister".
In this way the Configuration dialog can be re-used, for both settings.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar