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

Pages: 1 [2]
26
Feature Requests and Suggestions / Dark Mode
« on: March 27, 2019, 16:41:17 »
Mathias,
Dark Mode seems to be popular now. Could you add such functionality to MC?
As far as I know MC is written in Delphi. It is very easy to add support for VCL styles, so application could have Dark Mode (for example default Carbon style is nice).
How do you think?

-Pawel

27
Support and Feedback / Re: Multi Commander Custom Menu (issues!)
« on: September 10, 2018, 17:42:47 »
It is now fixed. Thanks Mathias!

Here is my UFM project that uses a lot of menu entries :)
https://www.pawelporwisz.pl/ufm/download_en.php

Best regards,
-Pawel

28
Support and Feedback / Re: Multi Commander Custom Menu (issues!)
« on: July 03, 2018, 18:05:46 »
OK. Thanks for info.
I hope you can provide some fix for this.
-Pawel

29
Support and Feedback / Re: Multi Commander Custom Menu (issues!)
« on: June 30, 2018, 11:05:23 »
I made thousands of test this night... I have no idea what is the reason :(
When I remove some entries (before that not working - entries that are displayed correctly) from UserDefinedCommands.xml file it works!
Like xml parser can not support so many entries?

Ps: About Name Tags -> I use it only in definition of menu, in submentu I use text - so MC shows text (I tested it with text both in menu and submenu and no difference).
For example:
Now, I use it like this (it works fine):

; UserMenu.xml
  <menuitem displayname="&amp;Ultimate File Manager">
    <menuitem name="UFM_PROJECT_HELP" id="ccd7658789ac41038d581ce15263f29d"/>
    <menuitem name="UFM_PROJECT_HISTORY" id="5e4d79fe877d4ae68a8fad1c6cc40747"/>
  </menuitem>

; UserDefinedCommands.xml
  <userdefinedcommand name="UFM Help" id="ccd7658789ac41038d581ce15263f29d" type="multiscript">
    <tip>Open UFM Help File</tip>
    <command>@var $Win_Dir = TranslateEnvString("%WINDIR%");</command>
    <command>MC.Run CMD="{$Win_Dir}\hh.exe" ARG="${mcinstallpath}\..\HELP\UFM_ENG.chm"</command>
  </userdefinedcommand>
  <userdefinedcommand name="UFM changelog" id="5e4d79fe877d4ae68a8fad1c6cc40747" type="multiscript">
    <tip>Check UFM project changelog</tip>
    <command>@var $Win_Dir = TranslateEnvString("%WINDIR%");</command>
    <command>MC.Run CMD="{$Win_Dir}\hh.exe" ARG="ms-its:${mcinstallpath}\..\HELP\UFM_ENG.CHM::/Version/Version.html"</command>
  </userdefinedcommand>


Changing it to your suggestion change nothing:

; UserMenu.xml
  <menuitem displayname="&amp;Ultimate File Manager">
    <menuitem name="UFM Help" id="ccd7658789ac41038d581ce15263f29d"/>
    <menuitem name="UFM changelog" id="5e4d79fe877d4ae68a8fad1c6cc40747"/>
  </menuitem>

; UserDefinedCommands.xml
  <userdefinedcommand name="UFM Help" id="ccd7658789ac41038d581ce15263f29d" type="multiscript">
    <tip>Open UFM Help File</tip>
    <command>@var $Win_Dir = TranslateEnvString("%WINDIR%");</command>
    <command>MC.Run CMD="{$Win_Dir}\hh.exe" ARG="${mcinstallpath}\..\HELP\UFM_ENG.chm"</command>
  </userdefinedcommand>
  <userdefinedcommand name="UFM changelog" id="5e4d79fe877d4ae68a8fad1c6cc40747" type="multiscript">
    <tip>Check UFM project changelog</tip>
    <command>@var $Win_Dir = TranslateEnvString("%WINDIR%");</command>
    <command>MC.Run CMD="{$Win_Dir}\hh.exe" ARG="ms-its:${mcinstallpath}\..\HELP\UFM_ENG.CHM::/Version/Version.html"</command>
  </userdefinedcommand>


I suppose the problem is in MC and xml parsing (or I just don't get it :))
-Pawel

30
Support and Feedback / Re: Multi Commander Custom Menu (issues!)
« on: June 29, 2018, 22:01:23 »
I will take a look on Sunday if you have not solved it by then.

So this is only guesses

MC assume the xml files are UTF8. So not sure if that can be the case, maybe that you have some national characters that breaks it ? (But Then it would not show anything at all I think., the entire load of the file would break)
You can try to resave the file as UTF8 and add the UTF8 xml header to the file
<?xml version="1.0" encoding="UTF-8"?>
But I do not think that will help
XML declaration is OK. I tested it with UTF-8 (no BOM) or UCS-2 LE -> No difference. So, it seems encoding is not a problem in this case.

Also you create the GUID at install time? You can create a guid once and then use the same guid on all..
Also make sure the ID of the command and the user menu entire matched.. So you can use hardcoded id. just make sure it is a valid GUID then it would not collide if the user creates its own command. They are Global Unique. not just machine unique

Yes, I generate it on installer runtime. GUID's are different on different installation. I think I will change it to use hardcoed GUID's

Too many items ? Might be too many. Not sure what the limit is. But I think it is several 1000.. so should not be that.
But you can try to remove some of the entires in the beginning and see if the rest works. Then it might be that you hit a limit.  That we might be able to fix.
Yes. I removed some of entries before and it still not working...

Hmm The file you linked are they how the files looked when installed or before NSIS process them ?
Because the NAME part look like Text tags.  Can you attach a version of the files as they look installed. Then I can debug with a real file and see why (if it is because of encoding or language issue)

The files I linked are files generated by my installer - so they are installed.
I don't understand the part "becasue the NAME part look like Text tags" -> my generated menu is the same like I create it via MC built-in custom menu creator.
So, please, make a copy of your files, copy my files into your installation and check it with debugger and do some magic tricks to found out what is going on.

Thanks!


31
Support and Feedback / Multi Commander Custom Menu (issues!)
« on: June 29, 2018, 20:18:51 »
@Mathias (Author)
@All of You

I would like to ask you for help.
I am creating custom menu for Multi Commander (using NSIS) for my UFM project.
I create UserMenu.xml file and UserDefinedCommands.xml.

Here is my UserMenu.xml file: http://www.meggamusic.co.uk/shup/1530295428/UserMenu.xml
Here is my UserDefinedCommands.xml file: http://www.meggamusic.co.uk/shup/1530295450/UserDefinedCommands.xml

PROBLEM:
Multi Commander do not display some of menu entries (the last ones => Programy -> Narzędzia -> Universal Extractor 2 -> Submenus and all next).
Have no idea why... Bad GUID's? To many entries? Bad file encoding?
Could you please take a look?



How I make GUID:
Code: [Select]
###############################################################
# MC: GUID
###############################################################
!define UFM_CREATE_GUID "!insertmacro UFM_CREATE_GUID"
!macro UFM_CREATE_GUID "RESULT"

;GUID -> {XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}
System::Call 'ole32::CoCreateGuid(g .s)'
Pop "$0"
${WordReplace} "$0" "{" "" "+" "$0"
${WordReplace} "$0" "-" "" "+" "$0"
${WordReplace} "$0" "}" "" "+" "$0"
${StrFilter} "$0" "-" "" "" "$0"
Push "$0"
Pop ${RESULT}

!macroend

Multi Commander Custom Menu Editor shows this "empty" entries correctly.

Problem on short video (27Mb): https://www.dropbox.com/s/feqkf4wj1er74tt/MC_MENU.mp4?dl=0


Thanks for any help,
-Pawel

32
Support and Feedback / Multi Commander - Run with parameters
« on: August 02, 2017, 12:34:01 »
Hi,
I want to ask you about Multi Commander Command Line.

I am trying to make it work like Total Commander does (I want to use it for AutoPlay actions toadd to registry).
Could you please write here if this is possible to:

Task 1: Run Multi Commander in NEW WINDOW (new instance) in RIGHT PANEL in NEW TAB
Total Commander: TotalCmd.exe /N /R /T="%1" (/N=New window, /R=Right Panel, /T=Open in New Tab)
Multi Commander: ???

Task 2: Run Multi Commander in EXISTING WINDOW (if MC is already opened) in LEFT PANEL in NEW TAB
Total Commander: TotalCmd.exe /O /L /T="%1" (/O=Existing window, /L=Left Panel, /T=Open in New Tab)
Multi Commander: ???

Task 3: Run Multi Commander in NEW WINDOW in RIGHT PANEL in EXISTING TAB
Total Commander: TotalCmd.exe /N /R="%1" (/N=New window, /R=Right Panel)
Multi Commander: ???

Is this possible in Multi Commander?
I know there is /OPEN to use  already running instance of Multi Commander (like /O in Total Commander)
I know ther is /L or /R for LEFT or RIGHT Panel (like in Total Commander).
How about tabs? Is it possible to create NEW TAB or USE EXISTING ONE?

Could someone write me the correct command line for Multi Commander for those example 3 tasks?
Thanks!
-Pawel


33
Support and Feedback / Re: Creating User Defined Menu Items
« on: February 01, 2017, 22:59:02 »
Cool!
I am waiting :)
Keep up good work!

-Pawel

34
Support and Feedback / Re: Creating User Defined Menu Items
« on: January 29, 2017, 21:08:18 »
1. You may get some paths by expanding environment variables like %WINDIR%
Yes. I do. But this is not everything I need (in fact only few)... I am looking for other possibility (I see Multi Commander has built in access (via Internal Commands\File Utils\<Command>) to many System Directories.
Hope, someone will find better solution. If any exists :)


2. You may use ampersand in the custom command name
Yes! Thanks. I have added it manually (&Text) and didn't notice Multi Commander saves it as "&amp;Text"

-Pawel

35
Support and Feedback / Re: Creating User Defined Menu Items
« on: January 29, 2017, 12:49:26 »
More questions is coming...

1. How to get system directories?
I am creating user defined menu where I want to add possibility to open all most important system directories.
Is it possible to use SHGetSpecialFolderPath(https://msdn.microsoft.com/pl-pl/library/windows/desktop/bb762204(v=vs.85).aspx) function to get directories (https://msdn.microsoft.com/pl-pl/library/windows/desktop/bb762494(v=vs.85).aspx) with Multi Commander MultiScript?

If not, how to get those directories (desktop, pictures, music, video, favourites, fonts, my doscuments, system, windows, startmenu, appdata, etc...)

2. I was trying to add & (ampersand) to the user menu (to make it work with keyboard) -> it seems to be impossible... is it?

Thanks for any help,
-Pawel

36
Support and Feedback / Re: Creating User Defined Menu Items
« on: January 25, 2017, 14:07:59 »
Thanks!
Yes, I found it... I should search better.
-Pawel

37
Support and Feedback / Creating User Defined Menu Items
« on: January 25, 2017, 13:15:26 »
Hi,
I am new to Multi Commander. But, it will soon change :P
I have a question... I am creating user defined menu, with menu commands (running programs).

I need to open directory in Multi Commander Explorer Panel (not in Windows Explorer).
How to do this?

What I do:
Defining User Command:

  <userdefinedcommand name="Open Directory" id="3c7cf12e862c4b38b1aacf8b25bd61ba" type="external">
    <tip>Open directory...</tip>
    <command>C:\Users\Pawel\Desktop</command>
  </userdefinedcommand>

And use it in Menu:
<menuitem name="Open Directory" id="3c7cf12e862c4b38b1aacf8b25bd61ba"/>

It works, but it open directory in Windows Explorer!
I want to open it in left or right panel of Multi Commander...

I hope it can be done easily...

Thanks for help,
-Pawel




Pages: 1 [2]