Recent Posts

Pages: [1] 2 3 4 5 ... 10
1
Thank you, Mathias!

That sounds amazing. Unfortunately I only have the Windows App Store Edition. I cannot switch to another edition, since my employer restricts that.
Currently, the date of my WASE is August 26 2024.
If I may ask, what is the update interval of the WASE?
New version is out soon then it takes a couple of days extra to get out on Windows Store
2
Support and Feedback / coloring rule for overlong file paths?
« Last post by multicart on Today at 11:18:58 »
Hi all,
is it currently possible to define a file coloring rule for overlong file paths?
i.e. if the path has more than 260 characters, apply the coloring rule

regards, m.
3
Thank you, Mathias!

That sounds amazing. Unfortunately I only have the Windows App Store Edition. I cannot switch to another edition, since my employer restricts that.
Currently, the date of my WASE is August 26 2024.
If I may ask, what is the update interval of the WASE?
4
You can force do it using script that starts at startup.
ok, great, thank you
5
From Build 3036 (beta) there is now a new function that can be used to be able to colors folder with no files.. (subfolder are not counted as files)

It is a bit tricky and many steps to connect everything together.

Create a User defined Command
Create a Userdefined command of type MultiScript
Code: [Select]
#options (AllowAsFileProp)
if(IsVariableDefined("$_FILEPROP_FILEPATH") == 0)
{
  @gvar $_FILEPROP_FILEPATH = GetSourceFocusPath();
}

@var $isEmpty = "";
@var $isFolder = IsFolder($_FILEPROP_FILEPATH);

if($isFolder)
{
    $_FILEPROP_FILEPATH = $_FILEPROP_FILEPATH  ^ "*";
   @var $found = FindFirstFileEx($_FILEPROP_FILEPATH, "SUBFOLDERS,ONLYFILENAME, IGNOREFOLDERS");
   if(!StrIsEqual($found, ""))
   {
     $isEmpty = "Empty";
   }
}

@var $_FILEPROP_DISPLAYNAME = $isEmpty;

Save it.

Define a Scriptable File Property (Column in filelist)
Right click on column header and go to customize.
Click the Script button at the side to define a new Scriptable file property.
Create a new, and from the Dropdown select the MultiScript function you created before. It should be shown in the dropdown list.
Save it
Then Add That scriptable column to the columns that should be show.

Create a File Coloring Rule.
Click on color wheel icon and and Select File Coloring Rules Editor.
Add a new rules and enter a name for it. (rules are matched from top to button, so if you have multiple rules maybe you need to move it to the top so it is not overwritten by anohter rule)
And click Modify rules.
Select "Plug-in (Extended Properties)"
Add New
Then select the scriptable column you defined before
In Text matching selet "IS" and "Empty"
Then save it configure the color you want for that rule and then save it

The only current issue is that the scriptable column need to be shown for it to work.



6
Depending on the size you set , However a 0/100% split is not saved. Hiding one panel is not saved becuse the panel is still there. and you can still do things to it, MC is designed around a source/target panel pattern. And many things in MC is using that.
You can force do it using script that starts at startup. but it is highly not recommended because of the why MC works.
7
Thank you.

Quote
So you want it to return directly if it finds any files. Not sure you can do that efficient with script yet.
I have not yet looked at the scripting limitations. Are you saying that the script does not have a return command that you could call if it encounters a file? Seriously? Well, as I just said, I will yet have to look at the scripting. Maybe it works differently than I would expect?

Yes you can return from script when you want.. That is not the problem.
The script commands are simpler then normal API. You can do FindFirstFile() that return first match or get all items from a folder using FindFiles(..) But it return all matched files from a path.
That is  not be optimal if the folder has MANY files, And also you need to do the subfolder check in script. and issue new FindFiles call for each folder and walk down the folder tree.
It is possible but not optimal.

What is needed is a FindFirstFile that supports going down in subfolders.
I remember that I needed a script function like that for my self too.. so the next beta that will have FindFirstFileEx that support subfolders..


8
Hi Mathias,

The split size right now is not remembered across sessions. It would be much better for me ;-), if it would get remembered, at least as an option.

Anyway, thank you for this good program.
regards, multicart
9
Thank you.

Quote
So you want it to return directly if it finds any files. Not sure you can do that efficient with script yet.
I have not yet looked at the scripting limitations. Are you saying that the script does not have a return command that you could call if it encounters a file? Seriously? Well, as I just said, I will yet have to look at the scripting. Maybe it works differently than I would expect?
10
Hold Ctrl+Shift  (You get the Link overlay on the cursor )
Then when dropping you have a couple of different option you can do.

like if you want to Link the dropped file to that place, Or Replace the drop file with the file you drop on.
Or if You want to RUN the dropped file with the application you dropped it on.
Pages: [1] 2 3 4 5 ... 10