Multi Commander > Support and Feedback

[FIXED] Right-click "New" menu options

(1/2) > >>

GrantSP:
Hello Mathias.

I'm assuming you have coded the 'right-click "New" menu' that is inside MC and are not using the Windows code.
Just curious about your rationale for doing so.

I am given the options to create "Contacts" and "Library Folder" items but doing so creates useless items. ie The "Contacts" file is not opened as a new contact and the "Library Folder" also has no functionality that I can see and the command to create a new "Library" is provided elsewhere on the 'right-click menu'. However I am not able to create the Windows items "Briefcase" or "Compressed (zipped) folder. I have never wanted to create those things but I find it strange to have some Windows items available and not others.
Also unlike explorer, the "New" command is also available when the focus is on a file not just blank space. Perhaps that should be changed?

Further I have found that the new "Rich Text Format" files that are created via MC have an "{" character added to the beginning of the file when viewed via UniversalViewer. If you then 'right-click' and select the command "New" that is immediately under the "Open" command, it is loaded into the default editor and the following extra characters are displayed:
Wordpad: { \ r t f 1 }
OpenOffice/LibreOffice: {#\#r#t#f#1#}###
(minor error I know but still thought you'd like to know)
Additionally the file creation for "OpenOffice/LibreOffice" is not available if the user has that software installed. This is also not a big issue but if the user is to be more conversant with MC it would be good to have all the functionality that explorer provides. No matter how trivial.

Just a thought.

Mathias (Author):
There is no way to use the "Windows code" for this. It is not exposed. Or was not when it was written.. (Long time ago)

The "New" items are defined in the registry. ("ShellNew" keys under extension names, eg "HKEY_CLASSESS_ROOT\.txt\ShellNew")
It also says there what data should be added to create an empty file of that type. (if there is a "data" value there)
Or it can have a reference to a template file that should be used ("nullfile")

Some of it might have change now. Was years ago since I looked at that.

I might look it over again.. someday.  maybe..  if it rains.






GrantSP:
Really! Wow how long ago did you code that? ;D

Please do have a look at it. Quite a number of other file managers have the default windows "New" menu so it shouldn't be that hard.

I guess it is moving into your summer up there in the northern hemisphere and rain might be some time far off? What about some heavy cloud, will that do?

Seriously though Mathias, this is some great work you have done and its all provided at the great price of nothing!

Thank you.

Grant

RayB:
Using V2.1.1 64bit Build 1045

Problem- When I right click on an existing folder New Folder not working - refer to attached image

Mathias (Author):

--- Quote from: RayB on May 15, 2012, 14:03:36 ---Using V2.1.1 64bit Build 1045

Problem- When I right click on an existing folder New Folder not working - refer to attached image

--- End quote ---

Ahh I see now. There a problem with new folder when it is selected from the folder tree. If you do it in the list pane it works.

I will put it on the list to fix for next version.

Navigation

[0] Message Index

[#] Next page

Go to full version