News:

MultiCommander v16.6 is released!

Main Menu

Recent posts

#1
When it happening is other panels/tabs showing that path too ?
#2
Yes working folder is normal folder properly created by user. so they are not write protected.

Sure you started MC as admin ?  Writing in program files and the other folders are write protected for normal user, require admin permissions..
#3
Support and Feedback / Re: Create/Edit new file bug
Last post by nietrupek - Today at 16:06:49
Quote from: Mathias (Author) on <strong>Today</strong> at 08:25:28I can't reproduce this.
It create the file for me when I run MC as admin.
Is it only under firefox program folder or any protected folder under program files??

Here's a sample of what I checked.

Fails for:
- C:\Program Files
  checked this dir and its 7zip and Notepad++ subdirs
- C:\Windows
- C:\Program Files (x86)

Works in:
- C:\Cygwin, C:\Cygwin\bin
- C:\bin\Ruby
- C:\hpswsetup
  but fails in its subdirs
- C:\xampp

There's interesting situation in C:\bin\Ruby: Create file works, but Edit new file creates file as expected, but doesn't run editor (Notepad++)

Quote from: Mathias (Author) on <strong>Today</strong> at 08:25:28Are you running normal version of MC or Windows StoreEdition ?

Normal, I think: v16.6 (build 3240) (how to attach an image in this forum?)
#4
CustomKeymappings.xml is no longer used in v17, CustomKeymappings.json is the new file used for v17

ConfigFileRedirect should work.. Maybe.. have not tried it. But using same system to get the path for the file so should work but it loads .json instead of xml and the entire file mapping is new. but for next preview I will activate the code for converting. I think it should be able to convert most command..
#5
Beta Releases / Re: MC V17 Early Access PREVI...
Last post by Pawel - Today at 13:40:53
Mathias,
I tried to test Multi Commander 17.0.0.3460 with my custom settings.
As first I tried to change Multi Commander Shortcuts with CustomKeymappings.xml file

\Multi Commander 17.0.0.3460\Config\CustomKeymappings.xml

<?xml version="1.0" encoding="UTF-8"?>
<keymap>
  <map extid="" ctrl="0" udc="F3FileViewer" key="F3" keymod=""/>
  <map extid="" ctrl="0" udc="F4FileEditor" key="F4" keymod=""/>
</keymap>

As you can see, I am trying to set my custom UDC command for F3 Key and F4 Key.
My custom Commands (UDC files) are here:
\Multi Commander 17.0.0.3460\Config\Scripts\F3FileViewer.udc
\Multi Commander 17.0.0.3460\Config\Scripts\F4FileEditor.udc

Here is UDC Files Code:

##########################################
#Name:View File Action (F3)
#Type:multiscript
#ID:F3FileViewer
#Desc:View in Total Editor
#Options:
##########################################

@var $text = "";
@var $arr = GetSelectedPaths();
@var $cnt = arrayCount($arr)

for($i = 0; $i < $cnt; $i++)
{
  if($i == 0)
    {
      $text = $text + '"' + $arr[$i] + '"';
    }
  else
   {
    $text = $text + " " + '"' + $arr[$i] + '"';
   }
}

MC.Run CMD="${mcinstallpath}\Total Editor\TotalEditor.exe" STARTIN="${mcinstallpath}\Total Editor" ARG="/OPEN {$text}"

AND

##########################################
#Name:Edit Files Action (F4)
#Type:multiscript
#ID:F4FileEditor
#Desc:Edit in Total Editor
#Options:
##########################################

@var $text = "";
@var $arr = GetSelectedPaths();
@var $cnt = arrayCount($arr)

for($i = 0; $i < $cnt; $i++)
{
  if($i == 0)
    {
      $text = $text + '"' + $arr[$i] + '"';
    }
  else
   {
    $text = $text + " " + '"' + $arr[$i] + '"';
   }
}

MC.Run CMD="${mcinstallpath}\Total Editor\TotalEditor.exe" STARTIN="${mcinstallpath}\Total Editor" ARG="/EDIT {$text}"

Multi Commander see that scripts (I can see it in Scripts Dialog, run by User Commands Menu)
Application to run: \Multi Commander 17.0.0.3460\Total Editor\TotalEditor.exe

It should run Total Editor application with parameters (/OPEN or /EDIT) and pass files selected in Multi Commander list. NOTHING happens. Multi Commander still opens selected file in MultiDataViewer!
Log Windows (Ctrl + L) shows nothing (it should show ->   .. Script engine info  => Variable "$i" created, like in Multi Commander 16.6)

I know, you updated Shortcuts for Multi Commander - however - Custom Key mappings NOT work anymore!
Please, take a look at this...
Thanks,
-Pawel

EDIT: New Shortcuts Dialog allows to overwrite Global F3/F4 keys and it works. Could you explain how new system works?
EDIT2:
I see, that it saves data in (Current Keyboard Style) File:
\Multi Commander 17.0.0.3460\Config\KeyboardProfiles\QuickLook.CommanderStyle.json

          {
            "command": "F3FileViewer",
            "shortcut": "F3"
          },
          {
            "command": "F4FileEditor",
            "shortcut": "F4"
          }

So, CustomKeyMappings.xml file will NOT work in Multi Commander 17x?
I will have to modify QuickLook.CommanderStyle.json file, right?

What about CustomConfigPaths.xml file?
I use the following (in Multi Commander 16x)
<?xml version="1.0" encoding="UTF-8"?>
<CustomConfigPaths>
  <ConfigFileRedirect>
    <ConfigFile File="UserMenu.xml" Redirected="..\UFM\1045\UserMenu.xml" />
    <ConfigFile File="QuickLaunch.xml" Redirected="..\UFM\1045\QuickLaunch.xml" />
    <ConfigFile File="QuickLaunch2.xml" Redirected="..\UFM\1045\QuickLaunch2.xml" />
    <ConfigFile File="CustomKeymappings.xml" Redirected="..\UFM\1045\CustomKeymappings.xml" />
  </ConfigFileRedirect>
  <AdditionalScriptFolders>
    <ScriptFolder Name="UFM" Path="..\UFM\1045\Scripts" Recursive="1" />
  </AdditionalScriptFolders>
</CustomConfigPaths>

Is this still valid? What has changed?


#6
Interesting. But I feels like this kind of feature only are valid for some folder.
And will be annoying if you navigate away from it.

But in next major version, v17. There will be a feature where you can specify some settings that will be change for some folders.  "Folder Specific settings". I fell that this feature might work better there. Then it only gets activated from specific folders where it is useful and not everywhere.
I add it to list and see if it is possible.


#7
I should do some conversion. But now sure if it is active.. because it was not 100%. I will activate it and we can see. it might be good enough for most cases.
#8
I can't reproduce this.
It create the file for me when I run MC as admin.
Is it only under firefox program folder or any protected folder under program files??
(If only firefox. then it might be that that folder has changed the permission so that not even normal admin can just create files.)

Are you running normal version of MC or Windows StoreEdition ?
#9
Support and Feedback / Re: Create/Edit new file bug
Last post by nietrupek - Yesterday at 20:48:56
Quote from: Mathias (Author) on <strong>Yesterday</strong> at 09:26:00Any error in AppLog or FileOperation log ? (Ctrl+L to view)

File creation: nothing for success (user dir) nothing for failure.
Only deleting files operations are recorded in FileOperation log.
#10
Beta Releases / Re: MC V17 Early Access PREVI...
Last post by Matthias515566 - Yesterday at 18:32:34
Quote from: Mathias (Author) on <strong>Yesterday</strong> at 13:01:43I don't remember, But I don't think it can convert from old format to new because it works totally different.
I think it can convert some, but not all
I thought you were still going to build a converter anyway. If not, I might as well switch over straight away. We'll see. I could ask the AI to adjust my configuration...