Author Topic: Reassign F4 to another (external) editor  (Read 15706 times)

mista

  • Junior Member
  • **
  • Posts: 11
    • View Profile
Reassign F4 to another (external) editor
« on: March 10, 2013, 21:24:01 »
I mainly use Notepad++ for editing files and I would like to reassign the F4 button to do so.

I got this far:

Dropping a file on the button I want to edit works, but it isn't assigned to the F4 button.

Any ideas?

Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4411
    • View Profile
    • Multi Commander
Re: Reassign F4 to another (external) editor
« Reply #1 on: March 10, 2013, 21:38:01 »
What you have done is to change that button so it is now calling your custom command, instead of calling the internal Edit command.
You still see F4 on the button because you kept the Button Label (and it reference the internal command).

But if you want to create a own custom command you need to create a User Defined Command first and then assign a key to that command.
If you then what to same command in a button in the button panel you select so that the button is calling the User Defined Command that you created instead of having the entire custom command there.

But...
A more correct way to do that would be do add notepad++ as editor in FileTypeSetup.
Then all edit commands in MC will use this.


mista

  • Junior Member
  • **
  • Posts: 11
    • View Profile
Re: Reassign F4 to another (external) editor
« Reply #2 on: March 10, 2013, 21:57:47 »
Hi Mathias,

Yes 'FileTypeSetup', that's what I was looking for!!!

BTW, is there a reference list of the internal commands like #{b,104} (${Core.1350}) ??

Thanks!

Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4411
    • View Profile
    • Multi Commander
Re: Reassign F4 to another (external) editor
« Reply #3 on: March 10, 2013, 22:05:26 »
The internal command is shown as a dropdown list when you select a command of type "internal commands"

The the description of the "#{b,104} (${Core.1350}" is
#b,104  referee to the Language file..
Core.1350 is the internal command reference. You can see this command in the Keyboard Customization dialog.. 

But that is not anything you going to need to type.

mista

  • Junior Member
  • **
  • Posts: 11
    • View Profile
Re: Reassign F4 to another (external) editor
« Reply #4 on: March 12, 2013, 23:48:24 »
Hi Mathias,

Okay, noted, thanks!