INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: How to disable clipboard hotkey?  (Read 1896 times)

eso

  • Regular Member
  • World Citizen
  • ***
  • Posts: 167
How to disable clipboard hotkey?
« on: November 14, 2007, 03:24:17 am »

I just noticed that MC12 uses the keyboard shortcut Shift-Ctrl-F12 to copy the name of the currently playing track to the clipboard. As this conflicts with another application on my system I would like to ask if there's a way to disable or change this function.
Logged

gappie

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 4566
Re: How to disable clipboard hotkey?
« Reply #1 on: November 14, 2007, 03:45:37 am »

yes there is. in
C:\Program Files\J River\Media Center 12\Data\Default Resources
you find a file called Resource.xml. make a new folder called under data called: Custom Resources. copy the resource.xml to this new folder. open this file with notepad and look for the ctrl shift f12. here you can change the shortcut. or maybe even take it away.


edit: there is also a wiki page about this: http://wiki.jrmediacenter.com/index.php/User_Defined_Global_Keyboard_Shortcuts
Logged

eso

  • Regular Member
  • World Citizen
  • ***
  • Posts: 167
Re: How to disable clipboard hotkey?
« Reply #2 on: November 14, 2007, 04:08:43 am »

Thanks for the hint. Removing the shortcut from the custom resource doesn't work because then it will be set from the default resource. It must be removed from there too to make that work.
Logged

gappie

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 4566
Re: How to disable clipboard hotkey?
« Reply #3 on: November 14, 2007, 04:13:29 am »

ah, but then it will be overwritten when upgrading.
when emptying the command etc like this:
<Entry Key="Ctrl;Shift;F12" Command="" Param="" Global="" />
in the custom resource file?
Logged

eso

  • Regular Member
  • World Citizen
  • ***
  • Posts: 167
Re: How to disable clipboard hotkey?
« Reply #4 on: November 14, 2007, 04:28:17 am »

when emptying the command etc like this:
<Entry Key="Ctrl;Shift;F12" Command="" Param="" Global="" />
in the custom resource file?

Doesn't work. The entry in the custom resource file is ignored as long as the key is defined in the default resource file.
Logged

gappie

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 4566
Re: How to disable clipboard hotkey?
« Reply #5 on: November 14, 2007, 07:02:41 am »

i think there is a bug. what ever i change in the custom resource xml does not have any effect. changing it in the file that is in the default resources works.  ?
Logged

eso

  • Regular Member
  • World Citizen
  • ***
  • Posts: 167
Re: How to disable clipboard hotkey?
« Reply #6 on: November 14, 2007, 07:06:29 am »

Yes, the bug is that the default resource overrides the custom settings. If the setting is not in the default you can modify it in the custom resource file. But if it is not in the default MC will use the custom setting.
Logged

gappie

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 4566
Re: How to disable clipboard hotkey?
« Reply #7 on: November 14, 2007, 07:08:24 am »

yes, just noticed that also. a pity.
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42046
  • Shoes gone again!
Re: How to disable clipboard hotkey?
« Reply #8 on: November 14, 2007, 02:32:03 pm »

Doesn't work. The entry in the custom resource file is ignored as long as the key is defined in the default resource file.

Custom overrides default.

Bad entries like an entry with no command will be ignored.

There is no way to disable a shortcut using custom, you will need to edit default.
Logged
Matt Ashland, JRiver Media Center

gappie

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 4566
Re: How to disable clipboard hotkey?
« Reply #9 on: November 14, 2007, 03:49:25 pm »

Custom overrides default.

in default i have:
   <Entry Key="Ctrl;L" Command="10004" Param="0" />

in custom i have:
   <Entry Key="Ctrl;L" Command="31001" Param="90" />

it does 10004, previous, with ctrl L.


when i put instead in custom something that is not taken in default like:
   <Entry Key="Alt;L" Command="31001" Param="90" />
it does rotate the image on Alt L.
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42046
  • Shoes gone again!
Re: How to disable clipboard hotkey?
« Reply #10 on: November 14, 2007, 04:05:07 pm »

You're right.  It's actually a little complicated how it decided to merge or overwrite a shortcut since it's valid to have multiple shortcuts for the same key, but with different translation flags.

The next public build will add these:
Fixed: Overriding keyboard shortcuts wouldn't always work if the shortcut was in the default resource.xml file.
Changed: When overriding a keyboard shortcut, putting no command allows a keyboard shortcut to be disabled.
Logged
Matt Ashland, JRiver Media Center

gappie

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 4566
Re: How to disable clipboard hotkey?
« Reply #11 on: November 14, 2007, 04:07:27 pm »

that is nice. thanks.
Logged
Pages: [1]   Go Up