Multi Commander > Support and Feedback

Create Folder (On Target) Bug?

<< < (2/2)

Mathias (Author):
Ahh you calling a an internal command.

Well that is correct..  that command will create folder on target.. and the target panel is the opposite panel..
You want the one that does NOT say "On target", that will create them in the source panel (the active panel)

blitz999:
Mathias,

When I do not use the (On Target) folder creation command, the folder is crated in the current panel BUT the filename that I selected is not inserted into the dialog box.

I have found a work abound that might be useful to others:

1. I created a user user command, using these parameters: Internal Commands > Explorer Panel > Files/Folders name.

2. I went to: Explorer Panel Settings > Mouse configurations > Custom mouse command #1; and selected the Files/Folders name User Command.

3. I went to: Explorer Panel Settings > Mouse configurations > Left mouse button > Click; and selected Custom mouse command #1.

4. I created a user command, using these parameters: Internal Commands > Explorer Panel > Create folder (From clipboard text). This command creates a new folder in the current panel.

Now I can single left click on a file, and the hit the Create folder (From clipboard text) button, and the dialog box with the current filename is copied from the clipboard and all I have to do is remove the file name's extension, and the folder is created in the current panel.

Maybe in the future you could tweak the program to not copy the file extension into the create folder dialog box  ;)

I have attached screen shots.

Thanks.
 

AlanJB:
I, for one, am confused.

Are you saying you were able, using your two commands, to create a folder with the same name as an existing file in the same path ?!

blitz999:
@AlanJB,

Don't forget, I also had to create those mouse commands as well. And as I mentioned, the copy File/Folder command copies the entire filename (with extension) to the clipboard, so when I execute the 'Create Folder from Clipboard Text' command, I manually remove the file extension from filename in the dialog box.

Total Commander does all of this in one step. You select a file and hit the make folder button and TC automatically inserts the filename (minus the extension) in the dialog box, and creates the folder in the active panel. I was trying to re-create this function in MC, but this is the closest I could get to it without learning Multi Script.

Hope this helps.

Mathias (Author):

--- Quote from: blitz999 on October 18, 2016, 22:55:01 ---Mathias,

When I do not use the (On Target) folder creation command, the folder is crated in the current panel BUT the filename that I selected is not inserted into the dialog box.

I have found a work abound that might be useful to others:

1. I created a user user command, using these parameters: Internal Commands > Explorer Panel > Files/Folders name.

2. I went to: Explorer Panel Settings > Mouse configurations > Custom mouse command #1; and selected the Files/Folders name User Command.

3. I went to: Explorer Panel Settings > Mouse configurations > Left mouse button > Click; and selected Custom mouse command #1.

4. I created a user command, using these parameters: Internal Commands > Explorer Panel > Create folder (From clipboard text). This command creates a new folder in the current panel.

Now I can single left click on a file, and the hit the Create folder (From clipboard text) button, and the dialog box with the current filename is copied from the clipboard and all I have to do is remove the file name's extension, and the folder is created in the current panel.

Maybe in the future you could tweak the program to not copy the file extension into the create folder dialog box  ;)

I have attached screen shots.

Thanks.

--- End quote ---

The problem is that you are trying to using internal commands for custom behaviour.

Makedir On Target is the internal command for Ctrl+F7  (That folder on target with name of focus file from source preset)
If you want to customize what should be preset in the makedir dialog. Then you need to use custom command or MultiScript


--- Code: ---MC.Explorer.Makedir FOLDERNAME="MyName"
--- End code ---

If you want to script exactly what the preset name should be. Youy will probably need MultiScript that calls the customcommand when it build the name you want to use.

Navigation

[0] Message Index

[*] Previous page

Go to full version