Multi Commander Support Forum
Multi Commander => Script => Topic started by: pncdaspropagandas on August 24, 2017, 15:29:19
-
As discussed here
http://forum.multicommander.com/forum/index.php/topic,1168.msg3985.html#msg3985
When inverting with only 1 selected file/folder on Explorer Style, all files/folders get selected.
So I wrote a Script to fix it until MC does it automaticaly. And I remmaped the keyboard shortcut to run the Script, so in all cases I get the correct invert selection.
@var $selected_files = GetSourceSelectedFileNames();
MC.Explorer.Selection.InvertSelection
if( arrayCount($selected_files) == 1 )
{
MC.Explorer.Selection.Unselect FILTER={'"' + $selected_files[0] + '"'}
}
-
Thanks, I added this to one of my buttons :)