Show Posts

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.


Messages - Lukas

Pages: [1]
1
Support and Feedback / Internal Picture Viewer background
« on: March 09, 2018, 23:18:04 »
Hello,
it is possible to change the background in the Internal Picture Viewer?

Default is 45° grid, which is not very comfortable for transparent background images...

Best regrads
Lukas

2
Script / Re: Create hard link
« on: December 30, 2015, 16:07:16 »
Thank you, It works.
 :)

3
Script / Re: Create hard link
« on: December 29, 2015, 14:14:03 »
Mathias, thank you for quick answer.

I simplified script, however doesn't work. I tested hard link and symbolic link only.

Code: [Select]
@var $selectedPaths = GetSourceSelectedPaths();
@var $targetPath = GetTargetPath();
//LogDumpArray($selectedPaths);
//LogDump($targetPath);

@var $i;
@var $count = arrayCount($selectedPaths);
for( $i = 0; $i < $count; $i++ )
{
  @var $file = PathGetNamePart($selectedPaths[$i]);
  @var $sourceFile = $selectedPaths[$i];
  @var $targetFile = $targetPath ^ $file;
  LogDump($sourceFile);
  LogDump($targetFile);
  MC.Utils.CreateLink ASADMIN LNKSRC="{$sourceFile}" LNKTRG="{$targetFile}" LNKTYPE=1
}

But never mind, workaround is to write filenames into txt and after run batch.

Happy new year!

4
Script / Create hard link
« on: December 26, 2015, 23:35:11 »
Hello,
I try to create a hard link to a file using script, but it doesn't do anythink. Can someone look at where I am wrong, please?
Thank you
Lukas

Code: [Select]
@var $selectedPaths = GetSourceSelectedPaths();
@var $targetPath = GetTargetPath();
//LogDumpArray($selectedPaths);
//LogDump($targetPath);

@var $sourcePathParts = StrSplit(PathGetPathPart($selectedPaths[0]), "\\");
@var $targetPathParts = StrSplit($targetPath, "\\");

//LogDumpArray( $sourcePathParts );
//LogDumpArray( $targetPathParts );

@var $counts = arrayCount($sourcePathParts);
@var $countt = arrayCount($targetPathParts);
@var $count = $countt;
if ($counts < $countt)
{
  $count = $counts;
}

@var $i;
for( $i = 0; $i < $count; $i++ )
{
  @var $cmp = StrIsEqualNoCase($sourcePathParts[$i], $targetPathParts[$i]);
  if ($cmp == 0)
  {
    break;
  }
}

@var $diffInx = $i;

@var $sourcePathRel = ".";
if ($i == 0)
{
  $sourcePathRel = $sourcePath;
}
else
{
  for( $i = $diffInx; $i < $counts; $i++ )
  {
    $sourcePathRel += "\\" + $sourcePathParts[$i];
  }

  $sourcePathRel = StrTrimLeft($sourcePathRel, ".\\");
}

@var $targetPathRel = ".";
if ($i == 0)
{
  $targetPathRel = $targePath;
}
else
{
  for( $i = $diffInx; $i < $countt; $i++ )
  {
    $targetPathRel += "\\" + $targetPathParts[$i];
  }

  $targetPathRel = StrTrimLeft($targetPathRel, ".\\");
}

//LogDump($sourcePathRel);
//LogDump($targetPathRel);

$count = arrayCount($selectedPaths);
for( $i = 0; $i < $count; $i++ )
{
  @var $file = PathGetNamePart($selectedPaths[$i]);
  @var $sourceFile = $sourcePathRel ^ $file;
  @var $targetFile = $targetPathRel ^ $file;
  //LogDump($sourceFile);
  //LogDump($targetFile);
  MC.Utils.CreateLink ASADMIN LNKSRC="$sourceFile" LNKTRG="$targetFile" LNKTYPE=1
}

5
Support and Feedback / Re: Toolbar view messed up after upgrade
« on: November 21, 2013, 08:41:02 »
64 bit version is OK, only 32 bit on Windows 8.1 32 bit doesn't work

6
Support and Feedback / Re: Toolbar view messed up after upgrade
« on: October 14, 2013, 09:42:47 »
Did you try to rotate your monitor 90° (to Portrait view)?
For sure my config of MC is attached.
L.

7
Support and Feedback / Re: Toolbar view messed up after upgrade
« on: October 13, 2013, 17:36:07 »
Drive bar is not so large...see attachment.

8
Support and Feedback / Re: Toolbar view messed up after upgrade
« on: October 13, 2013, 10:57:34 »
Hi,
I have the same problem.
Do you have displayed Special Folders (Desktop, My Document, ...) (Configuration->Explorer panel settings->Layout)?
If it is unchecked, layout is OK.
I had this problem in previous versions too, but only on the rotated monitor (rotated 90° - Portrait view).
Lukas

9
I tested it again and sometimes explorer does it well.
Needs a time to release the directory handle...that's the problem.

10
Hello,

when I have opened some folder in MC (ie. D:\Test\Test1) and any other program wants to delete this folder or directory in higher level (ie. D:\Test), program throws an exception, that folder is used.
I tried this scenario with Explorer and there is no problem (path is updated to the first existing directory).

Is there any possibility to change directory access rights in MC like in Explorer?

Thanks Lukas.



11
+1

12
You can use Multi-Script command.
For example like this:
Code: [Select]
@var $cmd = "D:\\Programs\\WinMerge\\WinMergeU.exe";

@var $selectedPaths = GetSelectedPaths();
@var $path1;
@var $path2;
if (arrayCount($selectedPaths) == 2)
{
  $path1 = $selectedPaths[0];
  $path2 = $selectedPaths[1];
}
else
{
  /*$path1 = GetSourceFocusPath();*/
  /*$path2 = GetTargetFocusPath();*/
  $path1 = GetTagValue("${leftfocuspath}");
  $path2 = GetTagValue("${rightfocuspath}");
}

MC.Run CMD="{$cmd}" ARG='"{$path1}" "{$path2}"'

13
Support and Feedback / Pack selected files crash
« on: January 28, 2013, 21:42:28 »
Hello,
I have a zip file in a folder located D:\Test\pack.zip (zip contains one directory and one file).
Unpack this file to the folder D:\Test\pack\ (Source).
Then select everything in this new folder and pack (Alt + F5) and pack into file D:\Test\pack.zip (ie, identical to the original file).
Message with question to ovveride existing files confirm by Replace All and Error message is displayed (File xxx is not found). Skip All, then Cancel = crash.

Tested on:
    Beta version v3.0 (build 1330)
    v2.8.1 (build 1275)

Best Regards Lukas

14
Support and Feedback / Focused tab color
« on: January 14, 2013, 12:26:17 »
Hello,
I would like to ask whether it is possible to change the color of the focused tab (MultiCommander.xml?)?
In core settings I found only "Allow Tab Colors", but this setting seems a few significant.

Thank you for answer and for the best file manager.
Lukas

Pages: [1]