1
Support and Feedback / Re: List/Index Of Files and Folders
« on: September 24, 2024, 20:53:47 »
Some options are available under Tools > To Clipboard menu. Something more advanced can potentially be done via MultiScript.
MultiCommander v14.1 is released!
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
ADDED - Tab-area will now show a folder icon if tabs in tabarea is full, When clicking on icon a popup list is shown with all tabs
<log>
<application>
<level value="2"/>
<save value="1"/>
</application>
<filesystem>
<level value="1"/>
<save value="1"/>
<copy value="1"/>
<move value="1"/>
<delete value="1"/>
<rename value="1"/>
<mkdir value="1"/>
<extended value="1"/>
</filesystem>
<filesystemscanning>
<show value="1"/>
<level value="1"/>
<extendedscanlog value="1"/>
<save value="1"/>
</filesystemscanning>
<logwindow>
<font FontName="Courier New" SizePT="9" Style="" SizePt="0"/>
<color background="$COLOR_WINDOW" foreground="$COLOR_WINDOWTEXT"/>
</logwindow>
</log>
my_folder\
subfolder1\
file1.txt
subfolder2\
file2.txt
subfolder3\
file3.txt
my_folder\
file1.txt
file2.txt
file3.txt
img_[N]
1) File type names shown from the filetype columns is returned by Windows. MC ask windows for them. It should return same in Windows Explorer.
Yes some Windows API report NOT FOUND and some SHARING VIOLATION..Let FileExists() and others return:
Its only for some very special system files. Not sure it is worth the time to create some workaround just for them.
when checking if file exists the GetFileAttributes(..) API is used. But for the special system files it return false and set error code to FILE_NOT_FOUND.
If FileExists return 0 then Windows return error when checking for those special file. Windows actually return ERROR_FILE_NOT_FOUND when trying to check those files.But MC somehow shows that files in Explorer Panels. If it can detect them, then I don't see a reason why MultiScript's FileExists could not.
@var $type_name;
if ( IsFolder($_FILEPROP_FILEPATH) == 0 )
{
@var $ext = PathGetFileExtPart($_FILEPROP_FILEPATH);
$type_name = RegValueGetSZ("HKCR", $ext, "");
}
else
{
$type_name = "Directory";
}
@var $_COLUMN_TYPE_DESCRIPTION = RegValueGetSZ("HKCR", $type_name, "");
Thanks. Checking this option works.
I don't see it losing defined scripables columns. have you checked the option for the script to be a FileProp?
if(IsVariableDefined("$_FILEPROP_FILEPATH") == 0)
{
@var $_FILEPROP_FILEPATH = GetTargetFocusPath();
}
Example of script that will just show the file extension in a column.Code: [Select]if(IsVariableDefined("$_FILEPROP_FILEPATH") == 0)
{
@var $_FILEPROP_FILEPATH = GetTargetFocusPath();
}
@var $ext = PathGetFileExtPart($_FILEPROP_FILEPATH);
@var $_FILEPROP_DISPLAYNAME = $ext;
Is there an easy way to "activate a tab if it exists or create a new one"? Or I have to write a script to check every tabs before create it?I think you'll have to perform a check.
@var $path1 = 'c:\temp'
@var $path2 = 'c:\temp\22'
MC.Explorer.NewBrowser PATH="{$path1}" SIDE=LEFT
MC.Explorer.NewBrowser PATH="{$path2}" SIDE=RIGHT
@var $lnk = GetSourceFocusPath();
@var $path = GetWinShortcutTarget( $lnk );
MC.Explorer.Goto SOURCE="{$path}";
I always have to re-adjust my panels to 50%/50% when starting MC. Where can I set that the % of panel width is always 50%/50%?
Also I would like to be sure then that column with is also sizing according to panel width (that is wider when panels width get bigger) and where to configure that?
I tried to create a shortcut to MC on the desktop and input:
"C:\Program Files\MultiCommander (x64)\MultiCommander.exe" -AutoRun=Core.1206
It doesn't work.
Command type = Internal Commands
Module = Multicommander (Base)
Command = Full Pane width
MC.RunCmd ID="Core.1206"