Author Topic: Config backup & Tab coloring  (Read 17438 times)

Ulfhednar

  • Contributor
  • VIP Member
  • *****
  • Posts: 514
    • View Profile
Config backup & Tab coloring
« on: February 25, 2017, 15:11:22 »
I often use my config backup to setup/configure my portable install.

Works great for my buttons etc but I have not been able to migrate the Tabs config where I have used the Tab Properties customization eg coloring.
Can I export these settings or manually edit something to export these?

Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4411
    • View Profile
    • Multi Commander
Re: Config backup & Tab coloring
« Reply #1 on: February 25, 2017, 17:16:46 »
Current tab setup is not a settings. It is a session state of the program and for normal version it is in registry or portable version it is in the SessionConfig\ subfolder
If you want same tab settings and path always use TabSessions.

Ulfhednar

  • Contributor
  • VIP Member
  • *****
  • Posts: 514
    • View Profile
Re: Config backup & Tab coloring
« Reply #2 on: February 27, 2017, 11:21:08 »
Great :)
I will track down the key/file give that a try for migration
Thanks Mathias

Ulfhednar

  • Contributor
  • VIP Member
  • *****
  • Posts: 514
    • View Profile
Re: Config backup & Tab coloring
« Reply #3 on: February 27, 2017, 13:28:51 »
I have found the tab session registry values & I think I can use the data effectively ;)

Off-Topic
I found many values in the registry (using Nirsoft Regscanner) & I see a lot of entries that I feel like deleting..... ;D
This is esp. true of the Find Dialog history dropdown which IIRC cannot be cleared without also clearing other things as well via 'Cleanup user data'
I see a lot of lookfor entries eg -

Code: [Select]
HKCU\Software\MultiCommander\SessionHistory\...\LookFor Item24 REG_SZ *.* 27/02/2017 12:10:38 6
So I experimentally deleted some lookfor keys& now on MC restart the drop-down search history dialog is 100% clear.  So not quite what I expected but it isn't a problem.
Curious to know if I could selectively edit history items via the registry & why deleting some wipes the whole history despite there being some entries left.  Item## need to be numerical order (1,2,3.. not 1,5,6 etc) perhaps? 

What limitations should I expect if I want to selectively delete certain history items? 
Basically there are some things I 'always' look for & need to recall but others are rare & just fill up the history lists.

This feels like it could be a MC plugin, which does make me wonder if I could write one...  What is the worst that could happen....I can only kill my OS right?!   8) ;D



AlanJB

  • VIP Member
  • *****
  • Posts: 433
  • VERY old Programmer
    • View Profile
Re: Config backup & Tab coloring
« Reply #4 on: February 27, 2017, 13:53:31 »
Quote
I found many values in the registry...

That's interesting (and glad you found a use for RegScanner ;) ):  I have no entries whatever for MultiCommander, nor any containing "lookfor".

Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4411
    • View Profile
    • Multi Commander
Re: Config backup & Tab coloring
« Reply #5 on: February 27, 2017, 15:48:18 »
Portable version do not store session data in the registry, but a file.

Not sure why you used a regscanner.  The regpath for everything is pretty obvious  ( HKCU\Software\MultiCommander\ )  :)

Yes if numbered item are missing it will stop trying to find the next one.

AlanJB

  • VIP Member
  • *****
  • Posts: 433
  • VERY old Programmer
    • View Profile
Re: Config backup & Tab coloring
« Reply #6 on: February 27, 2017, 16:22:10 »
Quote
Portable version do not store session data in the registry, but a file.

That's good to hear Mathias - that is correct behaviour for a portable app ;)

I thought I had read that Ulf was using the portable version; my mistake  :-\

Ulfhednar

  • Contributor
  • VIP Member
  • *****
  • Posts: 514
    • View Profile
Re: Config backup & Tab coloring
« Reply #7 on: February 28, 2017, 12:29:38 »
Portable version do not store session data in the registry, but a file.

Not sure why you used a regscanner.  The regpath for everything is pretty obvious  ( HKCU\Software\MultiCommander\ )  :)

Yes if numbered item are missing it will stop trying to find the next one.

Thanks for the info Mathias.

Regscanner - Thankfully MC doesn't hide keys everywhere ! 8) 
But I decided it would be good to play with AlanJBs recommendation.  :D