Multi Commander > Support and Feedback
Conditional custom commands
Tolis:
Hi,
I use a portable version stored in my google drive so I have MC in synch everywhere. The problem is that I need to create different version of my commands for each pc based for example in the machine name. So how should I proceed?
Mathias (Author):
Depends on what you mean with "my commands" is is UserDefinedCommands (script ?) shortcut in Menu/Buttonbar ? QuickLaunchBar ?
Most of this things will store its configuration in its own files. you can create copys of them that you copy in place with a bat script before start or something.
It is hard to say without know exactly what the issue is
Tolis:
thnks for the reply, at the moment I m not so advance to script (I will do it for sure though). I am interested in supporting machine depended versions of simple userdefined commands, mostly goto path shortcut where i want to have the same shortcut across my machines but I need to open a different path
Mathias (Author):
MC do support relative paths. Maybe you can use that and it will work on all machines..
But if you have really machine specific things, different shortcuts or they are really on different path, so relative paths can be used
Then you need to start MC with some .bat script that first copy the correct file from a storage into MCs config folder.
If you look in the config folder you see that ever major thing have there own config file.. all UserDefinedCommands are stored in its own files. All QuickLaunch buttons are in its own. ButtonPanel setup have its own and so on.
But it can cause issus if you start it from a cloud drive. Becuse if the settings files are changed it will sync it and if you run on multiple machines at the same it might maybe cause strange issues and they will overwrite each others settings.
Best would be if you can use relative path. or use Multiple instances of MC with its own setup
Tolis:
hmm yes i do use it from a cloud drive what exactly do u mean by relative paths?
Navigation
[0] Message Index
[#] Next page
Go to full version