Devices > Video Cards, Monitors, Televisions, and Projectors

MCC 28038 doesn't seem to work - Limiting discusion to this issue only

<< < (3/3)

Movieman:
Not what I was hoping for.  I expected this option to allow me to establish hot keys for specific values of zoom to use for different aspect ratio source material.

Like 1.85:1 vs 2.20:1 vs 2.55:1.  Put in a specific value and the zoom will change to that value.  These input values are relative to the previous zoom and this doesn't do anything the I and O keys don't already do.

Matt:

--- Quote from: Movieman on April 30, 2020, 02:17:58 pm ---These input values are relative to the previous zoom and this doesn't do anything the I and O keys don't already do.

--- End quote ---

I don't think that's correct.  Setting a value of 200 _always_ just zooms out by the same amount.  It is not relevant what the current setting is.

I was wondering if we should add a mode for that, but it currently is independent.

Movieman:
Sucess :D

1. I had to remove the translate flags from the Resource.xml
2. The required parameter is actually 100 - the desired zoom amount. ::)
3. It does zoom from the baseline of 100.

So we are all good.

Thanks again, I don't think I would have ever figured it out without your Help.

Matt:
Glad you got it.

Movieman:
For anyone else who needs this (and doesn't want to reinvent the wheel)

Contents of:

C:\Program Files\J River\Media Center 26\Data\Custom Resources\Resource.html


--- Code: ----->

<MJRS version="1.0">

<!--
COMMANDS:

  Command: the MCC command index
  Text: the string to be used in menus, etc.
  Param: the parameter for the MCC command (leave empty if param doesn't matter)
 
  Text Tokens: [Product Name], [Character]
-->

<!--
ACCELERATORS:

  Key: semi-colon delimited list of key strokes to be pressed (see list below for special keys)
    note that the only valid combinations are: [Key], [Key];Ctrl, [Key];Ctrl;Shift, [Key];Alt
  Type: the type of command (defaults to MCC)
    MCC: the command is an MC command
    Program: the command is a program to run
  Command: the MCC command index / name of program
  Param: the parameter for the MCC command / program arguments
  TranslateFlags: flags that determine when and how an accelerator is translated (binary or'd together)
    1: don't translate in edits, comboboxes, and other data entry controls
    2: don't translate in fullscreen mode or theater view
    4: don't translate in any type of popup window
    8: only translate in fullscreen
    16: don't translate in IE, VB controls, or other unknown rich controls
    32: targets playback engine / display (DVD, image playback, etc.)
    64: only translate when Action Window is focused
    128: not in Theater View
    256: not in report controls
    512: not in web browser
    1024: not in video player
  NoShowAsShortcut: 1 if you don't want MC to show this shortcut in menus, tooltips, etc.
  Global: 1 if you want the accelerator to be translated even when MC doesn't have the focus
 
  Special key list: Insert, Delete, -, +, Right, Left, Up, Down,
    NumPad0, NumPad1, NumPad2 (etc.), F1, F2, F3 (etc.), Backspace, Enter, Escape,
    Apps, Page Up, Page Down, Home, End, Space, Print Screen, Tab, Multiply ('*' on NumPad),
    Decimal ('.' on NumPad)

  Remember that order is relevant when the same shortcut appears multiple times.
-->

  <ACCELERATORS>

    <!-- Playback engine Zoom custom shortcuts (shared) -->
    <Entry Key="Alt;F1" Command="28038" Param="100" />  <!-- 1.77:1 -->
    <Entry Key="Alt;F2" Command="28038" Param="96" />    <!-- 1.85:1 -->
    <Entry Key="Alt;F3" Command="28038" Param="86" />    <!-- 2.00:1 -->
    <Entry Key="Alt;F4" Command="28038" Param="75" />    <!-- 2.20:1 -->
    <Entry Key="Alt;F5" Command="28038" Param="65" />    <!-- 2.40:1 -->
    <Entry Key="Alt;F6" Command="28038" Param="55" />    <!-- 2.55:1 -->
    <Entry Key="Alt;F7" Command="28038" Param="47" />    <!-- 2.76:1 -->
    <Entry Key="Alt;F8" Command="28038" Param="40" />    <!-- 2.85:1 -->

  </ACCELERATORS>

</MJRS>

--- End code ---

You probably will have to adjust the Param= value for your specific setup.

Best to you all in this time of stress.

Navigation

[0] Message Index

[*] Previous page

Go to full version