Recent Posts

Pages: 1 ... 6 7 8 9 [10]
91
Support and Feedback / Re: attempt to change a button on button panel
« Last post by Mathias (Author) on November 03, 2025, 14:35:40 »
That error is actually shown if it fails to delete the current file. It need to delete it before it can save the new.
Might be that the file has readonly attributes or file permissions that prevent its

If installed
C:\Users\[USERNAME]\AppData\Roaming\MultiCommander\Config\MultiButtons.xml

if portable version it is in the Config/MultiButtons.xml 

92
Support and Feedback / Re: attempt to change a button on button panel
« Last post by Mathias (Author) on November 03, 2025, 12:08:52 »
Any error in the app log when you do it  ? (ctrl+L)
93
Support and Feedback / attempt to change a button on button panel
« Last post by Babilon55 on November 03, 2025, 10:29:10 »
Hi.

I am trying to change a button and I get an error as in the attached "failed to save button layout.(2001)"
i tried to change also other buttons and got the same error.
94
I'am attempting to develop a script that dynamically executes files based on their extensions, bypassing the default file type associations. For example, I want to open *.ZIP files with 'FBNeoX' (game ROM emulator software) instead of the standard 'WinRar' as configured in File Type Settings et. al.. The goal is to trigger specific applications to open files with certain extensions through a custom script when the file is focused (separate from File Type Settings.)

I've experimented with AI-generated scripts and implemented multiple conditional statements (if/else), but I keep encountering errors. I'am wondering if it's feasible to achieve this functionality within MultiCommander via scripting. Is such dynamic extension-based execution achievable in MultiCommander, and if so, what would be the recommended approach ?

This doesn't work (one of many !)::

Code: [Select]
// SmartOpen — Ctrl+F9
// Requires MultiScript modules: Str (String Tools), Path (Path Tools)
@var $f = GetSourceFocusPath();
if ($f == "") { return; }
if (FS.IsFolder($f) == 1) { return; }
// extension (lowercase, without dot)
@var $ext = Path.GetFileExtension($f);   // requires Path module
$ext = Str.LCase($ext);                  // requires Str module
@var $app = "";
// MASM
if      ($ext == "asm") { $app = "D:\\masm32\\qeditor.exe"; }
// Text-like (Markdown intentionally NOT included)
elseif  ($ext == "txt" || $ext == "ini" || $ext == "log" || $ext == "ahk" ||
         $ext == "mtxt"|| $ext == "vbs" || $ext == "conf"|| $ext == "cpp" ||
         $ext == "h"   || $ext == "rc"  || $ext == "nfo" || $ext == "info"||
         $ext == "ps1" || $ext == "xml" || $ext == "jsee"|| $ext == "cfg") {
  $app = "C:\\Users\\dell\\Downloads\\thumbstick\\notepad2-4-2-25-en-win\\Notepad2.exe";
}
// Pictures
elseif  ($ext == "jpg" || $ext == "jpeg"|| $ext == "jpe" || $ext == "png" ||
         $ext == "gif" || $ext == "bmp" || $ext == "tif" || $ext == "tiff"||
         $ext == "webp"|| $ext == "jfif"|| $ext == "psd") {
  $app = "D:\\Download\\FreeVimager\\FreeVimager.exe";
}
// E-books
elseif  ($ext == "pdf" || $ext == "epub"|| $ext == "djvu"|| $ext == "mobi" ||
         $ext == "fb2" || $ext == "cb7" || $ext == "cbr" || $ext == "cbt"  ||
         $ext == "cbz" || $ext == "prc" || $ext == "azw" || $ext == "chm") {
  $app = "C:\\Users\\dell\\Documents\\SumatraALLOld\\SumatraPDF-3.2-64.exe";
}
// Cursors / Icons
elseif  ($ext == "cur" || $ext == "ani") {
  $app = "D:\\Download\\RealWorld Cursor Editor\\RWCursorEditor.exe";
}
// PowerPoint
elseif  ($ext == "pptx"|| $ext == "ppt" || $ext == "pps" || $ext == "ppsx") {
  $app = "C:\\Program Files\\Microsoft Office\\root\\Office16\\POWERPNT.EXE";
}
// Visual Studio
elseif  ($ext == "sln") {
  $app = "D:\\Download\\VS 19 CE\\Common7\\IDE\\devenv.exe";
}
// Sega Genesis / Mega-Drive (.md intentionally included)
elseif  ($ext == "gen" || $ext == "smd" || $ext == "bin" || $ext == "md") {
  $app = "D:\\Games\\Genesis ROMs\\Gens-2.11\\Gens 211 (Hacked) (USETHIS).qalnk";
}
// SNES
elseif  ($ext == "sfc" || $ext == "smc" || $ext == "fig") {
  $app = "D:\\Games\\Genesis ROMs\\SNES 9x Emulator\\SNES 9x x64 Emulator.qalnk";
}
// NES
elseif  ($ext == "nes") {
  $app = "D:\\Games\\Genesis ROMs\\Nestopia140bin\\Nestopia NES Emulator.qalnk";
}
// FB Neo ZIP ROMs
elseif  ($ext == "zip") {
  $app = "C:\\Users\\dell\\Documents\\FB Neo x64 (DO NOT DELETE)\\fbneo64.exe";
}
// Launch (ShellExecute works for .exe and .qalnk)
if ($app == "") {
  MC.ShellExecute FILE="{$f}" SHOW=1;
} else {
  MC.ShellExecute FILE="{$app}" PARAMS="\"{$f}\"" SHOW=1;
}

OR THIS::

Code: [Select]
// SmartOpen (Ctrl+F9) — Multi Commander v15.6
// Opens the focused file in a designated app by extension
@var $item = GetSourceFocusPath();
if ($item == "") { return; }         // nothing focused
if (FS.IsFolder($item) == 1) { return; }  // ignore folders
@var $ext = Str.LCase(Path.GetFileExt($item));  // extension without dot (lowercase)
@var $app = "";
// Text-like
if ( $ext == "txt"  || $ext == "ini" || $ext == "log" || $ext == "ahk" ||
     $ext == "mtxt" || $ext == "vbs" || $ext == "conf"|| $ext == "cpp" ||
     $ext == "h"    || $ext == "rc"  || $ext == "asm" || $ext == "nfo" ||
     $ext == "info" || $ext == "ps1" || $ext == "md"  || $ext == "xml" ||
     $ext == "jsee" || $ext == "cfg" ) {
  $app = "C:\Users\dell\Downloads\thumbstick\notepad2-4-2-25-en-win\Notepad2.exe";
// Pictures
} else if ( $ext == "jpg" || $ext == "png"  || $ext == "jpeg" || $ext == "gif" ||
            $ext == "webp"|| $ext == "jpe"  || $ext == "jfif" || $ext == "psd" ||
            $ext == "bmp" || $ext == "tif"  || $ext == "tiff" ) {
  $app = "D:\Download\FreeVimager\FreeVimager.exe";
// e-Books
} else if ( $ext == "pdf" || $ext == "epub" || $ext == "djvu" || $ext == "mobi" ||
            $ext == "fb2" || $ext == "cb7"  || $ext == "cbr"  || $ext == "cbt"  ||
            $ext == "cbz" || $ext == "prc"  || $ext == "azw"  || $ext == "chm" ) {
  $app = "C:\Users\dell\Documents\SumatraALLOld\SumatraPDF-3.2-64.exe";
// Cursors / Icons
} else if ( $ext == "cur" || $ext == "ani" ) {
  $app = "D:\Download\RealWorld Cursor Editor\RWCursorEditor.exe";
// PowerPoint
} else if ($ext == "pptx") {
  $app = "C:\Program Files\Microsoft Office\root\Office16\POWERPNT.EXE";
// Visual Studio Solutions
} else if ($ext == "sln") {
  $app = "D:\Download\VS 19 CE\Common7\IDE\devenv.exe";
} else {
  // No handler for this extension
  return;
}
// Launch the app with the focused file as argument
App.Run CMD="$app" PARAMS="\"$item\"" SHOW=1 WAIT=0;

P.S: *.QALNK filetypes are just special types of shortcuts I use to Run as Admin, effectively bypassing UAC Prompts (using the "Quick Admin" app.) Apparently you need to use ShellExecute to open *.QALNK files in MC & stuff…
95
There is no visual compare difference things in MC.
Only that it compares two folders and select matching or none matching files based on rules.
96
Support and Feedback / Re: Show differences between folders incl subfolders?
« Last post by Turpal on October 29, 2025, 21:46:50 »
@Mathias?
97
Becuase it is not reproduceable
It is probably a timing issue or something when the filesystem changes while it is already updating it or something. There are locks so this should not happen but look like on some system it can happen anyway some rare times.
But never been able to reproduce it.

A Force fresh should fix it, F2/F5 (depending on key setup)
98
I see the 10 year old problem https://forum.multicommander.com/forum/index.php/topic,1479.msg5333.html#msg5333 is still not resolved, now we have not only duplication but a triplication of directories
Quote
No it is nothing wrong with the disk

It is a know issue, That can happen very rarely on some system.
@Mathias I don't think it is normal to refresh the files each time you do something. It should be corrected to do all the refreshes automatically.
99
Support and Feedback / Show differences between folders incl subfolders?
« Last post by Turpal on October 27, 2025, 07:14:38 »
I know that full duplicate search between two folders is not supported, but what I want is somewhat different. I want the program to show me not the duplicates but file differences, i.e. the files that exist in right panel but not left, and vice versa. None of the duplicate searchers apps can do this, except WinMerge. Take a look at the screenshot to get the understanding how it looks like: each line has uniqueness attribute on the right column that shows either the file/folder exits only on the right, or on the left, or both. Pay attention that it works recursively.
I tried to achieve the same behavior with your folder comparison feature but failed to do so. It only shows file inside the folder, but doesn't go deeper. Is there a way to achieve the same comparison view like on my screenshot?
100
Support and Feedback / Re: giberish tilte - Multicommander VS win explorer
« Last post by Babilon55 on October 20, 2025, 14:51:17 »
hi.

solved... I changed the system local area
Pages: 1 ... 6 7 8 9 [10]