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 - Jungle

Pages: 1 2 3 [4] 5 6 7 8 ... 21
76
It can be easily reproduced.

1. Create two folders: c:\temp\1 and c:\temp\1\2.
2. In one panel enter c:\temp, and in other panel enter c:\temp\1\2.
3. Now try to rename folder c:\temp\1.
Result: rename failed.


P.S. But such behaviour is common for Windows itself and most file managers.

77
Feature Requests and Suggestions / Re: Create a folder and go to it
« on: November 29, 2017, 09:08:26 »
MC already supports it. There're at least 2 ways:

1. pressing Ctrl+Enter in "Create new folder dialog";
2. specifying GOTO param for Custom command "MC.Explorer.Makedir".

78
Support and Feedback / Re: Active Side every Time 75:25
« on: November 05, 2017, 17:33:11 »
Is ther a Way to setup that every Time the active windows have the size of 75:25?

If you simply want to have 75:25 panels ratio at MC start, then one of the ways is to create user defined command and pass it as command line param to MC executable.
1. Go to menu Configuration > User defined commands
2. Add new command and name it e.g. "set panels"
3. Change Command type to "Internal commands", Module to "Multicommander (base)", Command to "75 / 25"
4. Save changes.
5. Create shortcut to MC and add command line parameter '-AutoRun="set panels"' (command name must be enclosed in double quotation marks)

If you want a panel to be automatically resized to 75 after activation, then it's probably not possible.

P.S. Some time ago I've got an idea of "events" like OnTabCreate, OnLeaveTab etc. So each event would allow to execute user command. But then I realized that most likely it would cause much pain with almost no gain for Mathias to implement this.

79
Support and Feedback / Re: Change Default Folder / Directory Color?
« on: September 03, 2017, 20:24:00 »
Explorer Panel settings > Colors > File and Folder state colors
or/and
File Coloring rules editor

80
You can create Multiscript-based user defined command and pass it as command line parameter. See online doc for details.

81
Support and Feedback / Re: Session, save & mapped network folder
« on: August 04, 2017, 21:35:06 »
By default MC doesn't save network paths on exit. Check the following setting:
Explorer panel settings > Display > Save on exit > Remember only paths to local harddrive

82
Beta Releases / Re: MultiCommander v7.3 BETA
« on: July 06, 2017, 20:05:46 »
The following pattern seems to work (in 7.1)
Code: [Select]
(19[0-9][0-9])|" ($1)"

83
Support and Feedback / Re: Hide Folder Tree by default
« on: June 17, 2017, 08:10:06 »
Not a button:
Configuration > Explorer panel settings > Tab > Default settings for new tabs > Show folder tree

84
1. I told that it is similar behaviour. But personally I think that both cases have the same root.

2. Open Windows Explorer window and launch such exe (in my case it is GoogleChrome portable from portableapps.com). Security warning will be shown. Now try go back to Explorer window. It is impossible because warning dialog is modal.

Now launch that exe in MC. Warning dialog is not modal for some reason.

85
OK. I launch something that is not visible but acts like that process/window. Is it the same now?

P.S. BTW when I launch the same exe in other file manager, that security dialog is shown modal.

86
Do you remember, Mathias, I mailed you about similar behaviour. It is easily reproducable. All you need is launch some exe and get the following window (see pic). While the window is shown go back to MC and you'll see that keyboard navigation is broken. After closing that window MC is OK again.

Maybe something else can cause such behaviour.

P.S. The window on the pic is "Open File - Security Warning" dialog. It seems to be system warning. It can be enabled/disabled in the Internet options (in IE or Control Panel). Option name is "Launching Applications and Unsafe Files".

87
Support and Feedback / Re: Make file names web friendlyfast
« on: May 19, 2017, 07:52:26 »
Regarding rename, there're several ways:
- select Tools > Rename menu and choose appropriate renaming method;
- select Extensions > MultiRename menu and create your own renaming profile;
- create MultiScript command (probably the most advanced way).

88
vsudakou
If it's impossible to reorder, you may swap paths of two tabs.

1. Get current path (e.g. path1)
2. Switch to next (prev) tab and get its path (e.g. path2)
3. Set current tab's path to path1
4. Get back to prev tab and set it's path to path2
5. Go again to next tab if needed.

Maybe it's not as beautiful as it could be, but must be enough as a temp. solution

89
Here comes The Magic! :) Below is the script function calculating week number in accordance with ISO 8601. The code was taken here and converted to MultiScript. MC v7.x is required.

I haven't done much testing, but results for all days in 2001-2010 are the same as in Excel.

Code: [Select]
function IsLeapYear( $year )
{
  return IsAnyTrue( IsAllTrue( mod( $year, 4 ) == 0, !( mod( $year, 100 ) == 0 ) ), mod( $year, 400 ) == 0 );
}

function WeekNumIso8601( $day, $month, $year )
{
  @var  $YY, $C, $G, $I, $J, $DayOfYearNumber, $Jan1Weekday, $Weekday, $YearNumber;
  @var  $LeapYear = 0, $precLeapYear = 0, $WeekNumber = 0;
  @var  $Mnth = { 0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334 };

  // 1. Find if Y is LeapYear
  if ( IsLeapYear( $year ) )
  {
    $LeapYear = 1;
  }

  // 2. Find if Y-1 is LeapYear
  if ( IsLeapYear( $year - 1 ) )
  {
    $precLeapYear = 1;
  }

  //3. Find the DayOfYearNumber for Y M D
  $DayOfYearNumber = ( $day ) + ( $Mnth[ $month - 1 ] );
  if ( IsAllTrue( $LeapYear > 0 , $month > 2 ) )
  {
    $DayOfYearNumber++;
  }

  // 4. Find the Jan1Weekday for Y (Monday=1, Sunday=7)
  $YY = mod( $year - 1, 100 );
  $C = ( $year - 1 ) - $YY;
  $G = $YY + ( $YY / 4 );
  $I = mod( $C / 100, 4 );
  $Jan1Weekday = 1 + mod( ( $I * 5 ) + $G, 7 );

  // 5. Find the Weekday for Y M D
  $I = $DayOfYearNumber + ( $Jan1Weekday - 1 );
  $Weekday = 1 + mod( $I - 1, 7 );

  if ( $Weekday == 0 )
  {
    $Weekday = 7;
  }

  // 6. Find if Y M D falls in YearNumber Y-1, WeekNumber 52 or 53
  if ( IsAllTrue( $DayOfYearNumber <= ( 8 - $Jan1Weekday ), $Jan1Weekday > 4 ) )
  {
    $YearNumber = $year - 1;
   
    if ( IsAnyTrue( $Jan1Weekday == 5, IsAllTrue( $Jan1Weekday == 6, $precLeapYear == 1 ) ) )
    {
      $WeekNumber = 53;
    }
    else
    {
      $WeekNumber = 52;
    }
  }
  else
  {
    $YearNumber = $year;
  }

  // 7. Find if Y M D falls in YearNumber Y+1, WeekNumber 1
  if ( $YearNumber == $year )
  {
    if ( $LeapYear == 1 )
    {
      $I = 366;
    }
    else
    {
      $I = 365;
    }
    if ( ( $I - $DayOfYearNumber ) < ( 4 - $Weekday ) )
    {
      $YearNumber = $year + 1;
      $WeekNumber = 1;
    }
  }

  // 8. Find if Y M D falls in YearNumber Y, WeekNumber 1 through 53
  if ( $YearNumber == $year )
  {
    $J = $DayOfYearNumber + ( 7 - $Weekday ) + ( $Jan1Weekday - 1 );
    $WeekNumber = $J / 7;

    if ( $Jan1Weekday > 4 )
    {
      $WeekNumber--;
    }
  }
 
  return $WeekNumber;
}

90
It seems to be impossible to change default shortcut, but you can create User Defined Commands like

Code: [Select]
MC.SetActiveTab PANEL=ACTIVE TAB=NEXT
and

Code: [Select]
MC.SetActiveTab PANEL=ACTIVE TAB=PREV
and assign desired shortcuts to them

91
Try this:
Code: [Select]
@var $dir = GetSourcePath();
@var $sel = GetSourceSelectedFileNames();
//@var $sel = StrLines2Array( GetClipboardText() );

@var $c = arrayCount( $sel );
@var $n;
@var $f;

for( $n = 0; $n < $c; $n++ )
{
  $f = $dir ^ "\\" ^ PathGetNamePart( $sel[ $n ], 1 );
  if( FileExists( $f ) == 0 )
  {
    SaveStringToFile( $f, "" );
  }
}

For selected files use
Code: [Select]
@var $sel = GetSourceSelectedFileNames();
For clipboard use
Code: [Select]
@var $sel = StrLines2Array( GetClipboardText() );

92
There is no logic in having weird key combos for that, enter will suffice and be a better option.
The logic of having this "weird" key combo is that Enter will launch sfx-archive while Ctrl+PgDn should go into such archive.

93
Feature Requests and Suggestions / Re: F2 - File part rename
« on: February 23, 2017, 19:20:36 »
1. It is possible to remap F2 to inline rename.
2. It is not possible to toggle Name/Ext selection via same key, however Ctrl+N/E selects name/ext respectively

94
Support and Feedback / Re: List all files
« on: February 15, 2017, 09:29:26 »
oren@umich.edu
If you mean all files including ones in subfolders, then activate Flat View

95
Beta Releases / Re: Re: Multi Commander 6.9.1
« on: February 06, 2017, 09:07:55 »
Seems I have finally found why columns are being resized. It is related to columns autoadjusting. Steps to reproduce:

1. Enable Details View.
2. Go to a folder with many files (so the scrollbar is visible).
3. Adjust and remember Name column width (e.g. you may enable free size line as a visual reference).
4. Close MC.
5. Start MC. It sets last widths, then shows scrollbar, readjust column widths and so Name column becomes shorter.
6. Repeat steps 4-5. Each time Name column is shortened.

96
Support and Feedback / Re: Creating User Defined Menu Items
« on: January 29, 2017, 18:51:06 »
1. You may get some paths by expanding environment variables like %WINDIR%

2. You may use ampersand in the custom command name

97
Support and Feedback / Re: Creating User Defined Menu Items
« on: January 25, 2017, 13:27:17 »
Create User Defined command with type Custom Commands:
Code: [Select]
MC.Explorer.Goto PATH="e:\temp"
In User Commands editor you may view all available commands and their params/

98
Beta Releases / Re: Re: Multi Commander 6.9.1
« on: January 24, 2017, 09:26:18 »
(w7x64, MC v6.9.1 b2306)

Twice out of 4 cold boots this week, when loading MC it has hung on 'reading MC config' for <90 seconds.   :o
It does complete loading & run but this stall is unusually long.  Splash screen is usually only visible for a second or 2.

For me every MC cold launch takes long time. But my hardware is ~15 years old.

The other thing I've noticed with the recent betas was that it randomly resets column width, I need to right click & restore.

Several releases (not only betas/rc) have this issue. Unfortunately I haven't found exact way to reproduce it.

99
Support and Feedback / Re: Forced split size
« on: November 07, 2016, 13:45:11 »
that is not a solution because sometimes the EXE is launched from taskbar and in those cases, it takes no params.
See no problem. Create a shortcut with commandline param and pin it to taskbar.

100
Support and Feedback / Re: Forced split size
« on: November 07, 2016, 06:42:43 »
By default you can't do this.

But you may create user defined command and pass it as a command line param when launching MC, like the following example:
Code: [Select]
X:\mc\MultiCommander.exe -AutoRun="split 100/0"

Pages: 1 2 3 [4] 5 6 7 8 ... 21