Recent Posts

Pages: [1] 2 3 4 5 ... 10
1
Beta Releases / Re: v16.0 Beta
« Last post by Mathias (Author) on Today at 15:32:35 »
I removed MS Edge WebView and I will not reinstall it. I will also remove it after changing to Win 11.
It just so it can renders HTML. it is a wrapper for the Edge rendering engine that exists in Windows, it used for showing MD files (markdown) or HTML and PDF files in FileViewer..
but it should not crash if it is not there.. you just loose the support for viewing those files.
2
Beta Releases / Re: v16.0 Beta
« Last post by Matthias515566 on Today at 12:49:18 »
I removed MS Edge WebView and I will not reinstall it. I will also remove it after changing to Win 11.
3
Thank you very much!  Placing "double quotes" around the command worked perfectly. Here is the button editor command I use to create a custom folder name using format YYYY-MM-DD  HH-MM-SS
MC.Explorer.Makedir FOLDERNAME=":[d] [t]"

I copied the template format into the command and surrounded it with double quotes.  Pics attached for others reading how to accomplish this.
4
Well it will give you a challenge this summer.  Go for it while you are at the beach!  :)

Noo. I Don't think so.. More like maybe in the winter when you don't want to go outside..
5
Thank you. I am using this command in the button editor to make the directory folder and it works.
MC.Explorer.Makedir FOLDERNAME=:[d][t]

But now I want a space in between the [d] and [t].  I tried this:
MC.Explorer.Makedir FOLDERNAME=:[d] [t]

MC cannot interpret this space and truncates the [t] if there is a space in between them. It only creates the YYY-MM-DD as the folder name. Is there a way to create a folder with a space in between YYYY-MM-DD and HH-MM-SS ?

Just inserting a space in it would not work.. each paramter to custom commands is separated by space.. just like the command line.
Have you tried putting a " around them the path ?  FOLDERNAME="name with spaces" ? Or that does not work ?

6
Well it will give you a challenge this summer.  Go for it while you are at the beach!  :)



7
Thank you. I am using this command in the button editor to make the directory folder and it works.
MC.Explorer.Makedir FOLDERNAME=:[d][t]

But now I want a space in between the [d] and [t].  I tried this:
MC.Explorer.Makedir FOLDERNAME=:[d] [t]

MC cannot interpret this space and truncates the [t] if there is a space in between them. It only creates the YYY-MM-DD as the folder name. Is there a way to create a folder with a space in between YYYY-MM-DD and HH-MM-SS ?

8
Beta Releases / Re: v16.0 Beta
« Last post by Pawel on July 02, 2026, 14:32:20 »
Script was working fine in 15.8. It will fail if users update MC to 16.
For sure, the problem is in Script Language.
Would be great if you find why current script fails...


I confirm. Your workaround works fine!

-Pawel
9
Beta Releases / Re: v16.0 Beta
« Last post by Mathias (Author) on July 02, 2026, 13:46:47 »
@Mathias (Author)

Log says:
2026-07-02 11:38:02.277 Script engine info  => Variable "$i" created
2026-07-02 11:38:02.277 Script engine error => Variable "$text + '"' + $arr" not found
2026-07-02 11:38:02.277 Script engine error => Failed to process token - "$text"
2026-07-02 11:38:02.277 Script engine error - Line : 8, Error : -1 => Code : "$text = $text + '"' + $arr[$i] + '"'"
2026-07-02 11:38:02.277 Script engine error - Line : 8, Error : -1 => Code : "$text = $text + '"' + $arr[$i] + '"'"
2026-07-02 11:38:02.277 Script engine error - Line : 8, Error : -1 => Code : "$text = $text + '"' + $arr[$i] + '"'"


@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] + '"';
   }
}

Look like the script fails.  looks like it something changed how array indexing are handled..

as a workaround this works

Code: [Select]
  @var $name = $arr[$i];
  if($i == 0)
    {
      $text = $text + '"' + $name + '"';
    }
  else
   {
    $text = $text + " " + '"' + $name + '"';
   }

Moving access of array item to own temp variable
10
Beta Releases / Re: v16.0 Beta
« Last post by Pawel on July 02, 2026, 11:43:15 »
@Mathias (Author)

I would like to report that MC 16 beta breaks custom scripts/commands.
Configuration:
\UFM\MC\Config\CustomConfigPaths.xml
<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>

1. File -> CustomKeymappings.xml
<keymap>
  <map extid="" ctrl="0" udc="29e331d5dbe5444eabcdcb37ba409a6b" key="F1" keymod=""/>
  <map extid="" ctrl="0" udc="985cf4f5c21d4014ac0382da45e3e3a0" key="F10" keymod="CA"/>
  <map extid="" ctrl="0" udc="a568468079cb4dc5b5123487d908e891" key="F3" keymod=""/>
  <map extid="" ctrl="0" udc="a568468079cb4dc5b5123487d908e892" key="F4" keymod=""/>
</keymap>

F10, F3, F4 shortcuts NOT working anymore!
Example F3 Action:
Log says:
2026-07-02 11:38:02.277 Script engine info  => Variable "$i" created
2026-07-02 11:38:02.277 Script engine error => Variable "$text + '"' + $arr" not found
2026-07-02 11:38:02.277 Script engine error => Failed to process token - "$text"
2026-07-02 11:38:02.277 Script engine error - Line : 8, Error : -1 => Code : "$text = $text + '"' + $arr[$i] + '"'"
2026-07-02 11:38:02.277 Script engine error - Line : 8, Error : -1 => Code : "$text = $text + '"' + $arr[$i] + '"'"
2026-07-02 11:38:02.277 Script engine error - Line : 8, Error : -1 => Code : "$text = $text + '"' + $arr[$i] + '"'"



2. Redirected xml files works fine (UserMenu.xml, QuickLaunch.xml, QuickLaunch2.xml) - but if you click on custom button that is connected with custom script (..\UFM\1045\Scripts) - script is not working, probably not called... so nothing happens.

Example button test (selecting few files on the list and pressing button that should call my app with parameters (those selected files).
Here is my multiscript:
@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}\..\AppManager.exe" STARTIN="${mcinstallpath}\..\" ARG="/OPEN {$text}"

Here is MC log:
2026-07-02 11:39:30.273 Script engine info  => Variable "$i" created
2026-07-02 11:39:30.273 Script engine error => Variable "$text + '"' + $arr" not found
2026-07-02 11:39:30.273 Script engine error => Failed to process token - "$text"
2026-07-02 11:39:30.273 Script engine error - Line : 8, Error : -1 => Code : "$text = $text + '"' + $arr[$i] + '"'"
2026-07-02 11:39:30.273 Script engine error - Line : 8, Error : -1 => Code : "$text = $text + '"' + $arr[$i] + '"'"
2026-07-02 11:39:30.273 Script engine error - Line : 8, Error : -1 => Code : "$text = $text + '"' + $arr[$i] + '"'"


This is MAJOR issues. Please take a look at this. Everything was working in current MC 15.8
You can test it with latest UFM (https://www.dropbox.com/scl/fi/apwhkbpcdnr4aayrkq5bp/UFM_15.5.exe?rlkey=mfpor3adcqqglc28zaqlucjox&dl=1)
-Pawel
Pages: [1] 2 3 4 5 ... 10